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:
committed by
Pieter-Jan Briers
parent
03ac153417
commit
34e7edb5f5
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user