diff options
Diffstat (limited to 'scripts/Entities/Items/ConsumableItem.cs')
| -rw-r--r-- | scripts/Entities/Items/ConsumableItem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Entities/Items/ConsumableItem.cs b/scripts/Entities/Items/ConsumableItem.cs index 4078bd3..b672b7d 100644 --- a/scripts/Entities/Items/ConsumableItem.cs +++ b/scripts/Entities/Items/ConsumableItem.cs @@ -31,7 +31,7 @@ public abstract partial class ConsumableItem(Vector2I initialPosition, MapData m /// <returns>Se a ação foi realizada ou não.</returns> public abstract bool Activate(ItemAction action); - public void ConsumedBy(Player consumer) + public virtual void ConsumedBy(Player consumer) { Inventory inventory = consumer.Inventory; inventory.RemoveItem(this); |
