Fixes inventories and throwing. (#133)

This commit is contained in:
Acruid
2018-12-13 05:49:05 -08:00
committed by Pieter-Jan Briers
parent 37df61113e
commit 69946c79d8
4 changed files with 18 additions and 12 deletions

View File

@@ -154,7 +154,7 @@ namespace Content.Server.GameObjects.EntitySystems
// pop off an item, or throw the single item in hand.
if (!throwEnt.TryGetComponent(out StackComponent stackComp) || stackComp.Count < 2)
{
handsComp.Drop(handsComp.ActiveIndex, null);
handsComp.Drop(handsComp.ActiveIndex);
}
else
{