Chunkloader fixes

This commit is contained in:
StevenRS11
2013-11-12 13:49:43 -05:00
parent b18fe877de
commit b818038fd6
2 changed files with 12 additions and 2 deletions

View File

@@ -39,6 +39,10 @@ public class TileEntityDimDoorGold extends TileEntityDimDoor implements IChunkLo
if (this.chunkTicket == null)
{
chunkTicket = ForgeChunkManager.requestTicket(mod_pocketDim.instance, worldObj, Type.NORMAL);
if(chunkTicket == null)
{
return;
}
chunkTicket.getModData().setInteger("goldDimDoorX", xCoord);
chunkTicket.getModData().setInteger("goldDimDoorY", yCoord);
chunkTicket.getModData().setInteger("goldDimDoorZ", zCoord);