working on dungeon changes

This commit is contained in:
StevenRS11
2013-06-09 23:56:31 -04:00
parent 20122f956e
commit 4651be614e
5 changed files with 7 additions and 76 deletions

View File

@@ -57,7 +57,7 @@ public class CommandEndDungeonCreation extends CommandBase
player.sendChatToPlayer("created dungeon schematic in " +mod_pocketDim.schematicContainer+"/"+var2[0]+".schematic");
mod_pocketDim.customDungeons.add(newDungeon);
if(customDungeonImporter.customDungeonStatus.containsKey(player.worldObj.provider.dimensionId))
if(customDungeonImporter.customDungeonStatus.containsKey(player.worldObj.provider.dimensionId)&&!player.worldObj.isRemote)
{
dimHelper.instance.teleportToPocket(player.worldObj, customDungeonImporter.customDungeonStatus.get(player.worldObj.provider.dimensionId), player);