mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 15:03:01 +00:00
Fix all errors.
This commit is contained in:
1 parent
ffaea7d4b7
commit
a83e9a3b53
17 files changed
+91
-36
No files matched your search
@@ -439,7 +439,7 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
FluidStack liquid = (FluidStack) alloys.get(al);
|
||||
addMoltenMetal(liquid, true);
|
||||
}
|
||||
onInventoryChanged();
|
||||
markDirty();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -654,11 +654,11 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
return 1;
|
||||
}
|
||||
|
||||
public void onInventoryChanged ()
|
||||
public void markDirty ()
|
||||
{
|
||||
updateTemperatures();
|
||||
updateEntity();
|
||||
super.onInventoryChanged();
|
||||
super.markDirty();
|
||||
needsUpdate = true;
|
||||
//worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||
//worldObj.func_147479_m(xCoord, yCoord, zCoord);
|
||||
@@ -1141,7 +1141,7 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
|
||||
public void onDataPacket (NetworkManager net, S35PacketUpdateTileEntity packet)
|
||||
{
|
||||
readFromNBT(packet.func_148857_g());
|
||||
onInventoryChanged();
|
||||
markDirty();
|
||||
worldObj.func_147479_m(xCoord, yCoord, zCoord);
|
||||
this.needsUpdate = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user