Fixes inventories and throwing. (#133)
This commit is contained in:
committed by
Pieter-Jan Briers
parent
37df61113e
commit
69946c79d8
@@ -234,7 +234,7 @@ namespace Content.Server.GameObjects
|
||||
var activehand = hands.GetActiveHand;
|
||||
if (activehand != null && activehand.Owner.TryGetComponent(out ClothingComponent clothing))
|
||||
{
|
||||
hands.Drop(hands.ActiveIndex, null);
|
||||
hands.Drop(hands.ActiveIndex);
|
||||
if (!Equip(msg.Inventoryslot, clothing))
|
||||
{
|
||||
hands.PutInHand(clothing);
|
||||
|
||||
Reference in New Issue
Block a user