Enable Capes/Format Code

This commit is contained in:
Alexander committed 2014-02-11 21:35:05 -05:00
1 parent 612f7a9ca1
commit 56d348dcc7
9 files changed
+33 -31

No files matched your search

@@ -58,10 +58,10 @@ public class ToolStationLogic extends InventoryLogic implements ISidedInventory
public void onInventoryChanged ()
{
buildTool(toolName);
if (this.getWorld() != null)
if (this.worldObj != null)
{
this.blockMetadata = this.getWorld().getBlockMetadata(this.xCoord, this.yCoord, this.zCoord);
this.getWorld().markTileEntityChunkModified(this.xCoord, this.yCoord, this.zCoord, this);
this.blockMetadata = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord);
this.worldObj.markTileEntityChunkModified(this.xCoord, this.yCoord, this.zCoord, this);
}
}