Update common/buildcraft/builders/EventHandlerBuilders.java

Referencing WorldClient is bad
This commit is contained in:
CovertJaguar 2012-09-15 19:28:26 -07:00
parent f1c67bc518
commit 0479fab15d

View file

@ -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();
}