Use item number for hay bales until 1.6
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user