Use item number for hay bales until 1.6

This commit is contained in:
garbagemule
2013-07-03 13:57:28 +02:00
parent 9b236587da
commit 4a267f5ab5
+1 -1
View File
@@ -111,7 +111,7 @@ public class ArenaClass
pets += stack.getAmount(); pets += stack.getAmount();
} }
else if (stack.getType() == Material.HAY_BLOCK && stack.getAmount() == 1) { else if (stack.getTypeId() == 170 && stack.getAmount() == 1) {
if (mount) return; if (mount) return;
mount = true; mount = true;
} }