Use item number for hay bales until 1.6
This commit is contained in:
1 parent
9b236587da
commit
4a267f5ab5
1 file changed
+1
-1
@@ -111,7 +111,7 @@ public class ArenaClass
|
||||
pets += stack.getAmount();
|
||||
}
|
||||
|
||||
else if (stack.getType() == Material.HAY_BLOCK && stack.getAmount() == 1) {
|
||||
else if (stack.getTypeId() == 170 && stack.getAmount() == 1) {
|
||||
if (mount) return;
|
||||
mount = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user