Fixed Bounding Blocks causing crashes
This commit is contained in:
parent
1e6cc0916f
commit
be96cb62ce
2 changed files with 2 additions and 1 deletions
|
@ -934,6 +934,7 @@ public class TileEntityDigitalMiner extends TileEntityElectricBlock implements I
|
||||||
}
|
}
|
||||||
|
|
||||||
MekanismUtils.makeAdvancedBoundingBlock(worldObj, x, y, z, Coord4D.get(this));
|
MekanismUtils.makeAdvancedBoundingBlock(worldObj, x, y, z, Coord4D.get(this));
|
||||||
|
worldObj.notifyBlocksOfNeighborChange(x, y, z, Mekanism.BoundingBlock.blockID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -668,7 +668,7 @@ public final class MekanismUtils
|
||||||
*/
|
*/
|
||||||
public static void makeAdvancedBoundingBlock(World world, int x, int y, int z, Coord4D orig)
|
public static void makeAdvancedBoundingBlock(World world, int x, int y, int z, Coord4D orig)
|
||||||
{
|
{
|
||||||
world.setBlock(x, y, z, Mekanism.BoundingBlock.blockID, 1, 3);
|
world.setBlock(x, y, z, Mekanism.BoundingBlock.blockID, 1, 0);
|
||||||
|
|
||||||
if(!world.isRemote)
|
if(!world.isRemote)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue