Further simplify IChiselItem and improve chisel tooltips

This commit is contained in:
tterrag1098 committed 2015-01-09 02:33:03 -05:00
1 parent 7cfb88979e
commit 615b1ed395
6 files changed
+43 -29

No files matched your search

@@ -143,14 +143,8 @@ public class ContainerChisel extends Container {
if (finished)
return;
if (chisel.stackTagCompound == null)
chisel.stackTagCompound = new NBTTagCompound();
NBTTagCompound tag = new NBTTagCompound();
if (inventory.getStackInSpecialSlot() != null)
inventory.getStackInSpecialSlot().writeToNBT(tag);
chisel.stackTagCompound.setTag("chiselTarget", tag);
General.setChiselTarget(chisel, inventory.getStackInSpecialSlot());
playerInventory.mainInventory[currentIndex] = chisel;
}
}