#744 Farming station eats Ichorium Axe bug

This commit is contained in:
CrazyPants committed 2014-06-16 11:02:15 +08:00
1 parent 2850d46d0d
commit 3c52d51ade
1 file changed
+1 -1
@@ -164,7 +164,7 @@ public class TileFarmStation extends AbstractPoweredTaskEntity /*implements IEnt
tool.getItem().onItemUse(tool, farmerJoe, worldObj, bc.x, bc.y, bc.z, 1, 0.5f, 0.5f, 0.5f);
}
if(tool.getItemDamage() >= tool.getMaxDamage()) {
if(tool.isItemStackDamageable() && tool.getItemDamage() >= tool.getMaxDamage()) {
destroyTool(class1);
}
}