Merge pull request #767 from Prototik/master
Fix for destroying a tilemarker.
This commit is contained in:
commit
52177fd330
1 changed files with 4 additions and 3 deletions
|
@ -365,7 +365,7 @@ public class TileMarker extends TileBuildCraft implements IAreaProvider {
|
|||
}
|
||||
}
|
||||
|
||||
if (markerOrigin != this) {
|
||||
if (markerOrigin != this && markerOrigin != null) {
|
||||
markerOrigin.origin = new Origin();
|
||||
}
|
||||
|
||||
|
@ -376,8 +376,9 @@ public class TileMarker extends TileBuildCraft implements IAreaProvider {
|
|||
mark.updateSignals();
|
||||
}
|
||||
}
|
||||
|
||||
markerOrigin.updateSignals();
|
||||
if (markerOrigin != null) {
|
||||
markerOrigin.updateSignals();
|
||||
}
|
||||
}
|
||||
|
||||
if (signals != null) {
|
||||
|
|
Loading…
Reference in a new issue