Fix for clicking an item in the offhand with the activehand (#314)

* Fix for clicking an item in the offhand with the activehand

* Renamed attacked to entity
This commit is contained in:
ShadowCommander
2019-08-25 04:10:59 -07:00
committed by Pieter-Jan Briers
parent 03ac153417
commit 34e7edb5f5

View File

@@ -482,7 +482,10 @@ namespace Content.Server.GameObjects
} }
else else
{ {
interactionSystem.Interaction(Owner, slot.ContainedEntity); var entity = slot.ContainedEntity;
if (!Drop(entity))
break;
interactionSystem.Interaction(Owner, entity);
} }
} }