Adds support for unlimited stacks (#5084)
Co-authored-by: ike709 <ike709@github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user