Miscellaneous Body Decoupling (#38958)
This commit is contained in:
@@ -16,6 +16,7 @@ using Content.Shared.Verbs;
|
||||
using Content.Shared.Wall;
|
||||
using Content.Shared.Whitelist;
|
||||
using Content.Shared.ActionBlocker;
|
||||
using Content.Shared.Mobs.Components;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
@@ -355,7 +356,7 @@ public abstract class SharedEntityStorageSystem : EntitySystem
|
||||
return _whitelistSystem.IsValid(component.Whitelist, toInsert);
|
||||
|
||||
// The inserted entity must be a mob or an item.
|
||||
return HasComp<BodyComponent>(toInsert) || HasComp<ItemComponent>(toInsert);
|
||||
return HasComp<MobStateComponent>(toInsert) || HasComp<ItemComponent>(toInsert);
|
||||
}
|
||||
|
||||
public bool TryOpenStorage(EntityUid user, EntityUid target, bool silent = false)
|
||||
|
||||
Reference in New Issue
Block a user