mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
lol
This commit is contained in:
@@ -415,7 +415,7 @@ public abstract class SharedEntityStorageSystem : EntitySystem
|
|||||||
|
|
||||||
public bool CanOpen(EntityUid user, EntityUid target, bool silent = false, EntityStorageComponent? component = null)
|
public bool CanOpen(EntityUid user, EntityUid target, bool silent = false, EntityStorageComponent? component = null)
|
||||||
{
|
{
|
||||||
if (!Resolve(target, ref component))
|
if (!Resolve(target, ref component, false)) // DeltaV - Prevent HTNOperators from failing tests
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!HasComp<HandsComponent>(user))
|
if (!HasComp<HandsComponent>(user))
|
||||||
|
|||||||
Reference in New Issue
Block a user