This commit is contained in:
Ben Spiers 2015-07-28 18:53:29 +01:00
parent 9a3f0ae633
commit 4040a57a16
2 changed files with 3 additions and 3 deletions

View file

@ -261,7 +261,7 @@ public class TileEntitySolarNeutronActivator extends TileEntityContainerBlock im
@Override
public void onPlace()
{
MekanismUtils.makeBoundingBlock(worldObj, xCoord, yCoord+1, zCoord, Coord4D.get(this));
MekanismUtils.makeBoundingBlock(worldObj, Coord4D.get(this).getFromSide(ForgeDirection.UP), Coord4D.get(this));
}
@Override

View file

@ -27,13 +27,13 @@ public class TileEntityAdvancedSolarGenerator extends TileEntitySolarGenerator i
@Override
public void onPlace()
{
MekanismUtils.makeBoundingBlock(worldObj, xCoord, yCoord+1, zCoord, Coord4D.get(this));
MekanismUtils.makeBoundingBlock(worldObj, new Coord4D(xCoord, yCoord+1, zCoord), Coord4D.get(this));
for(int x = -1; x <= 1; x++)
{
for(int z = -1; z <= 1; z++)
{
MekanismUtils.makeBoundingBlock(worldObj, xCoord+x, yCoord+2, zCoord+z, Coord4D.get(this));
MekanismUtils.makeBoundingBlock(worldObj, new Coord4D(xCoord+x, yCoord+2, zCoord+z), Coord4D.get(this));
}
}
}