mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 08:40:03 +00:00
Merge pull request #147 from WizardJesse1/patch-13
Fixed food eating delays
This commit is contained in:
@@ -32,7 +32,7 @@ class ConsumeAction < Action
|
|||||||
attr_reader :consumable
|
attr_reader :consumable
|
||||||
|
|
||||||
def initialize(player, slot, consumable)
|
def initialize(player, slot, consumable)
|
||||||
super(0, true, player)
|
super(2, true, player)
|
||||||
@consumable = consumable
|
@consumable = consumable
|
||||||
@slot = slot
|
@slot = slot
|
||||||
@executions = 0
|
@executions = 0
|
||||||
@@ -51,7 +51,7 @@ class ConsumeAction < Action
|
|||||||
end
|
end
|
||||||
|
|
||||||
def equals(other)
|
def equals(other)
|
||||||
mob == other.mob && @consumable.id == other.consumable.id
|
mob == other.mob
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user