Update common/buildcraft/builders/EventHandlerBuilders.java
Referencing WorldClient is bad
This commit is contained in:
parent
f1c67bc518
commit
0479fab15d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ public class EventHandlerBuilders {
|
|||
//server and one from the client. We don't want the client to clear the
|
||||
//list because it happens after the initializations and therefore it re-
|
||||
//moves the loaded path markers.
|
||||
if (!event.world.getClass().equals(net.minecraft.src.WorldClient.class))
|
||||
if (!event.world.isRemote)
|
||||
TilePathMarker.clearAvailableMarkersList();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue