This commit is contained in:
parent
730200ed8d
commit
d287b30c01
1 changed files with 5 additions and 2 deletions
|
@ -26,6 +26,7 @@ import appeng.core.features.AEFeature;
|
|||
import appeng.helpers.LocationRotation;
|
||||
import appeng.helpers.NullRotation;
|
||||
import appeng.integration.abstraction.IRB;
|
||||
import appeng.util.Platform;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
@ -161,6 +162,7 @@ public class BlockSkyStone extends AEBaseBlock implements IOrientableBlock
|
|||
public void onBlockAdded(World w, int x, int y, int z)
|
||||
{
|
||||
super.onBlockAdded( w, x, y, z );
|
||||
if ( Platform.isServer() )
|
||||
WorldSettings.getInstance().getCompass().updateArea( w, x, y, z );
|
||||
}
|
||||
|
||||
|
@ -168,6 +170,7 @@ public class BlockSkyStone extends AEBaseBlock implements IOrientableBlock
|
|||
public void breakBlock(World w, int x, int y, int z, Block b, int WTF)
|
||||
{
|
||||
super.breakBlock( w, x, y, z, b, WTF );
|
||||
if ( Platform.isServer() )
|
||||
WorldSettings.getInstance().getCompass().updateArea( w, x, y, z );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue