This commit is contained in:
asiekierka 2015-03-21 17:41:55 +01:00
parent 8e6901a66b
commit c4e1e73c27

View file

@ -180,6 +180,7 @@ public class TileConstructionMarker extends TileBuildCraft implements IBuildingI
@Override @Override
public void validate() { public void validate() {
super.validate();
if (!worldObj.isRemote) { if (!worldObj.isRemote) {
currentMarkers.add(this); currentMarkers.add(this);
} }
@ -187,6 +188,7 @@ public class TileConstructionMarker extends TileBuildCraft implements IBuildingI
@Override @Override
public void invalidate() { public void invalidate() {
super.invalidate();
if (!worldObj.isRemote) { if (!worldObj.isRemote) {
currentMarkers.remove(this); currentMarkers.remove(this);
} }