Make chisels pop out of the crafting grid if they break

This commit is contained in:
Bernhard Bonigl committed 2014-09-29 09:11:15 +02:00
1 parent 9d80633b60
commit 15d2cbeae7
1 file changed
+1 -1
@@ -46,7 +46,7 @@ public class Chisel extends ToolCore
@Override
public boolean doesContainerItemLeaveCraftingGrid (ItemStack par1ItemStack)
{
return false;
return par1ItemStack.hasTagCompound() && par1ItemStack.getTagCompound().getCompoundTag("InfiTool").getBoolean("Broken");
}
boolean performDetailing (World world, int x, int y, int z, int blockID, int blockMeta)