Fix errors, still some TODO's.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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();
|
||||
|
@@ -204,7 +204,7 @@ public class TileDetector extends TileMachine implements ICompareSetting
|
||||
|
||||
if (powered != lastPowered)
|
||||
{
|
||||
worldObj.markBlockForUpdate(pos);
|
||||
// @TODO: worldObj.markBlockForUpdate(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -116,7 +116,7 @@ public abstract class TileMachine extends TileBase implements INetworkTile, IRed
|
||||
|
||||
if (lastConnected != connected)
|
||||
{
|
||||
worldObj.markBlockForUpdate(pos);
|
||||
// @TODO: worldObj.markBlockForUpdate(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -154,7 +154,7 @@ public class TileWirelessTransmitter extends TileMachine implements IInventory
|
||||
|
||||
if (lastWorking != working)
|
||||
{
|
||||
worldObj.markBlockForUpdate(pos);
|
||||
// @TODO: worldObj.markBlockForUpdate(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user