Remove IContainer and move functions to the container system. (#19834)
This commit is contained in:
@@ -171,7 +171,7 @@ public partial class SharedBodySystem
|
||||
Resolve(partId.Value, ref part, false) &&
|
||||
(slot.Type == null || slot.Type == part.PartType) &&
|
||||
Containers.TryGetContainer(slot.Parent, BodyContainerId, out var container) &&
|
||||
container.CanInsert(partId.Value);
|
||||
_container.CanInsert(partId.Value, container);
|
||||
}
|
||||
|
||||
public virtual bool AttachPart(
|
||||
|
||||
Reference in New Issue
Block a user