mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
fix references to worldObj
This commit is contained in:
1 parent
2cb0bb34fb
commit
48be78c6a8
27 files changed
+162
-163
No files matched your search
@@ -39,7 +39,7 @@ public class DryingRackLogic extends InventoryLogic
|
||||
@Override
|
||||
public void updateEntity ()
|
||||
{
|
||||
if (!worldObj.isRemote && maxTime > 0 && currentTime < maxTime)
|
||||
if (!field_145850_b.isRemote && maxTime > 0 && currentTime < maxTime)
|
||||
{
|
||||
currentTime++;
|
||||
if (currentTime >= maxTime)
|
||||
@@ -73,7 +73,7 @@ public class DryingRackLogic extends InventoryLogic
|
||||
maxTime = DryingRackRecipes.getDryingTime(inventory[0]);
|
||||
else
|
||||
maxTime = 0;
|
||||
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||
field_145850_b.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -115,7 +115,7 @@ public class DryingRackLogic extends InventoryLogic
|
||||
public void onDataPacket (INetworkManager net, Packet132TileEntityData packet)
|
||||
{
|
||||
readCustomNBT(packet.data);
|
||||
worldObj.markBlockForRenderUpdate(xCoord, yCoord, zCoord);
|
||||
field_145850_b.markBlockForRenderUpdate(xCoord, yCoord, zCoord);
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
|
||||
Reference in new issue
Block a user