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:
WizardJesse1
2016-01-31 15:50:20 -05:00
parent 3f3efb4058
commit e194a6b46c
+2 -2
View File
@@ -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