Adds support for unlimited stacks (#5084)

Co-authored-by: ike709 <ike709@github.com>
This commit is contained in:
ike709
2021-10-31 08:27:11 -05:00
committed by GitHub
parent 0bbc4d9afe
commit 0865409521
3 changed files with 16 additions and 2 deletions

View File

@@ -62,6 +62,8 @@ namespace Content.Server.Stack
{
// Set the split stack's count.
SetCount(entity.Uid, amount, stackComp);
// Don't let people dupe unlimited stacks
stackComp.Unlimited = false;
}
return entity;