mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 16:49:11 +00:00
Fixed food eating delays
* Removed the equal check due to causing issue's with food delays since when you eat one food it should be on the same tick
This commit is contained in:
@@ -32,7 +32,7 @@ class ConsumeAction < Action
|
||||
attr_reader :consumable
|
||||
|
||||
def initialize(player, slot, consumable)
|
||||
super(0, true, player)
|
||||
super(2, true, player)
|
||||
@consumable = consumable
|
||||
@slot = slot
|
||||
@executions = 0
|
||||
@@ -51,7 +51,7 @@ class ConsumeAction < Action
|
||||
end
|
||||
|
||||
def equals(other)
|
||||
mob == other.mob && @consumable.id == other.consumable.id
|
||||
mob == other.mob
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user