mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-23 21:49:45 +00:00
Heisen bug fixed. Now why does it break when placed?!
This commit is contained in:
1 parent
5b2a795eb5
commit
09b9471786
3 files changed
+7
-7
No files matched your search
@@ -528,7 +528,7 @@ public class AdaptiveSmelteryLogic extends AdaptiveInventoryLogic implements IAc
|
||||
@Override
|
||||
public void readFromNBT (NBTTagCompound tags)
|
||||
{
|
||||
super.superReadFromNBT(tags);
|
||||
super.readFromNBT(tags);
|
||||
readNetworkNBT(tags);
|
||||
|
||||
structure.readFromNBT(tags);
|
||||
@@ -550,7 +550,7 @@ public class AdaptiveSmelteryLogic extends AdaptiveInventoryLogic implements IAc
|
||||
@Override
|
||||
public void writeToNBT (NBTTagCompound tags)
|
||||
{
|
||||
super.superWriteToNBT(tags);
|
||||
super.writeToNBT(tags);
|
||||
writeNetworkNBT(tags);
|
||||
|
||||
structure.writeToNBT(tags);
|
||||
|
||||
@@ -151,7 +151,7 @@ public class TankAirLogic extends InventoryLogic implements IServantLogic, ISide
|
||||
@Override
|
||||
public void readFromNBT (NBTTagCompound tags)
|
||||
{
|
||||
super.superReadFromNBT(tags);
|
||||
super.readFromNBT(tags);
|
||||
readNetworkNBT(tags);
|
||||
multitank.readFromNBT(tags);
|
||||
}
|
||||
@@ -165,7 +165,7 @@ public class TankAirLogic extends InventoryLogic implements IServantLogic, ISide
|
||||
@Override
|
||||
public void writeToNBT (NBTTagCompound tags)
|
||||
{
|
||||
super.superWriteToNBT(tags);
|
||||
super.writeToNBT(tags);
|
||||
writeNetworkNBT(tags);
|
||||
multitank.writeToNBT(tags);
|
||||
}
|
||||
|
||||
@@ -155,8 +155,8 @@ public abstract class InventoryLogic extends TileEntity implements IInventory
|
||||
tags.setTag("Items", nbttaglist);
|
||||
}
|
||||
|
||||
//Added for blocks that need to sync inventory
|
||||
public void superReadFromNBT (NBTTagCompound tags)
|
||||
/* Cause of the heisenbug. Do not uncomment! */
|
||||
/*public void superReadFromNBT (NBTTagCompound tags)
|
||||
{
|
||||
super.readFromNBT(tags);
|
||||
}
|
||||
@@ -164,7 +164,7 @@ public abstract class InventoryLogic extends TileEntity implements IInventory
|
||||
public void superWriteToNBT (NBTTagCompound tags)
|
||||
{
|
||||
super.writeToNBT(tags);
|
||||
}
|
||||
}*/
|
||||
|
||||
/* Default implementations of hardly used methods */
|
||||
public ItemStack getStackInSlotOnClosing (int slot)
|
||||
|
||||
Reference in new issue
Block a user