Remove IContainer and move functions to the container system. (#19834)
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Content.Server.Disposal.Unit.EntitySystems
|
||||
if (!Resolve(uid, ref holder))
|
||||
return false;
|
||||
|
||||
if (!holder.Container.CanInsert(toInsert))
|
||||
if (!_containerSystem.CanInsert(toInsert, holder.Container))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user