mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-17 11:15:07 +00:00
Further simplify IChiselItem and improve chisel tooltips
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user