Merging Canvox's patch #106
@@ -319,7 +319,13 @@ public class mod_pocketDim
|
||||
CommandCreatePocket.instance().register(event);
|
||||
CommandTeleportPlayer.instance().register(event);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
ChunkLoaderHelper.loadChunkForcedWorlds(event);
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
System.out.println("Loading chunkloaders failed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,13 +34,16 @@ public class TileEntityDimDoorGold extends TileEntityDimDoor implements IChunkLo
|
||||
}
|
||||
if (this.chunkTicket == null)
|
||||
{
|
||||
if(chunkTicket == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
chunkTicket = ForgeChunkManager.requestTicket(mod_pocketDim.instance, worldObj, Type.NORMAL);
|
||||
chunkTicket.getModData().setInteger("goldDimDoorX", xCoord);
|
||||
chunkTicket.getModData().setInteger("goldDimDoorY", yCoord);
|
||||
chunkTicket.getModData().setInteger("goldDimDoorZ", zCoord);
|
||||
forceChunkLoading(chunkTicket,this.xCoord,this.zCoord);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user