Added a workaround for GTCE fake world
This commit is contained in:
parent
ceb8245381
commit
aa10e0a3e3
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,9 @@ public class WorldHandler {
|
|||
WarpDrive.logger.info(String.format("onBlockUpdate args %s actual %s",
|
||||
blockEvent.getState(), blockEvent.getWorld().getBlockState(blockEvent.getPos())));
|
||||
}
|
||||
if (WarpDriveConfig.isGregTechLoaded && blockEvent.getWorld().getWorldInfo().getWorldName().equals("DummyServer")) {
|
||||
return;
|
||||
}
|
||||
WarpDrive.starMap.onBlockUpdated(blockEvent.getWorld(), blockEvent.getPos(), blockEvent.getState());
|
||||
ChunkHandler.onBlockUpdated(blockEvent.getWorld(), blockEvent.getPos().getX(), blockEvent.getPos().getY(), blockEvent.getPos().getZ());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue