@@ -31,7 +31,7 @@ namespace Content.Server.GameObjects
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(StoreableComponent))]
|
||||
public class ItemComponent : StoreableComponent, IAttackHand, IExAct, IEquipped, IUnequipped
|
||||
public class ItemComponent : StoreableComponent, IInteractHand, IExAct, IEquipped, IUnequipped
|
||||
{
|
||||
public override string Name => "Item";
|
||||
public override uint? NetID => ContentNetIDs.ITEM;
|
||||
@@ -102,7 +102,7 @@ namespace Content.Server.GameObjects
|
||||
return InteractionChecks.InRangeUnobstructed(user, itemPos, ignoredEnt: Owner, insideBlockerValid:true);
|
||||
}
|
||||
|
||||
public bool AttackHand(AttackHandEventArgs eventArgs)
|
||||
public bool InteractHand(InteractHandEventArgs eventArgs)
|
||||
{
|
||||
if (!CanPickup(eventArgs.User)) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user