Fix errors, still some TODO's.

This commit is contained in:
Raoul Van den Berge
2016-03-19 14:38:13 +01:00
parent 91b6a340e6
commit 2d397bf814
6 changed files with 6 additions and 7 deletions

View File

@@ -98,8 +98,7 @@ public abstract class BlockBase extends Block
((TileBase) tile).setDirection(EnumFacing.getFront(newDir));
world.markBlockForUpdate(pos);
// @TODO: world.markBlockForUpdate(pos);
return true;
}

View File

@@ -13,7 +13,7 @@ public class BlockCable extends BlockBase
float pixel = 1F / 16F;
setBlockBounds(4 * pixel, 4 * pixel, 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel);
// @TODO: setBlockBounds(4 * pixel, 4 * pixel, 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel, 1 - 4 * pixel);
}
@Override

View File

@@ -432,7 +432,7 @@ public class TileController extends TileBase implements IEnergyReceiver, INetwor
if (lastEnergy != energy.getEnergyStored())
{
worldObj.markBlockForUpdate(pos);
// @TODO: worldObj.markBlockForUpdate(pos);
}
energyUsage = buf.readInt();

View File

@@ -204,7 +204,7 @@ public class TileDetector extends TileMachine implements ICompareSetting
if (powered != lastPowered)
{
worldObj.markBlockForUpdate(pos);
// @TODO: worldObj.markBlockForUpdate(pos);
}
}

View File

@@ -116,7 +116,7 @@ public abstract class TileMachine extends TileBase implements INetworkTile, IRed
if (lastConnected != connected)
{
worldObj.markBlockForUpdate(pos);
// @TODO: worldObj.markBlockForUpdate(pos);
}
}

View File

@@ -154,7 +154,7 @@ public class TileWirelessTransmitter extends TileMachine implements IInventory
if (lastWorking != working)
{
worldObj.markBlockForUpdate(pos);
// @TODO: worldObj.markBlockForUpdate(pos);
}
}