Update SharedStorageSystem.cs
This commit is contained in:
@@ -357,10 +357,8 @@ public abstract class SharedStorageSystem : EntitySystem
|
||||
if (HasComp<PlaceableSurfaceComponent>(uid))
|
||||
return;
|
||||
|
||||
if (storageComp.CP14Ignorelist != null && _whitelistSystem.IsWhitelistFail(storageComp.CP14Ignorelist, args.Used))
|
||||
{
|
||||
if (_whitelistSystem.IsWhitelistPass(storageComp.CP14Ignorelist, args.Used))
|
||||
return;
|
||||
}
|
||||
|
||||
PlayerInsertHeldEntity(uid, args.User, storageComp);
|
||||
// Always handle it, even if insertion fails.
|
||||
|
||||
Reference in New Issue
Block a user