From bb5c75fa4a631026e94fe989de4b94a25764535d Mon Sep 17 00:00:00 2001 From: Major Date: Mon, 14 Mar 2016 08:40:53 +0000 Subject: [PATCH] Fix #272 --- data/plugins/consumables/consumable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/consumables/consumable.rb b/data/plugins/consumables/consumable.rb index dacfa5e0..a0748d4f 100644 --- a/data/plugins/consumables/consumable.rb +++ b/data/plugins/consumables/consumable.rb @@ -63,7 +63,7 @@ class ConsumeAction < Action end def equals(other) - mob == other.mob && @consumable.type == other.consumable.type + get_class == other.get_class && mob == other.mob && @consumable.type == other.consumable.type end end