You can now pickup items inside obstructions (#759)
This commit is contained in:
committed by
GitHub
parent
2df0f884ba
commit
60d6b4af7d
@@ -87,7 +87,7 @@ namespace Content.Server.GameObjects
|
||||
var itemPos = Owner.Transform.WorldPosition;
|
||||
|
||||
return _entitySystemManager.GetEntitySystem<InteractionSystem>()
|
||||
.InRangeUnobstructed(userPos, itemPos, ignoredEnt: Owner);
|
||||
.InRangeUnobstructed(userPos, itemPos, ignoredEnt: Owner, insideBlockerValid:true);
|
||||
}
|
||||
|
||||
public bool AttackHand(AttackHandEventArgs eventArgs)
|
||||
|
||||
Reference in New Issue
Block a user