fix #2574
This commit is contained in:
parent
8e6901a66b
commit
c4e1e73c27
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue