Temporary workaround for dungeon resetting

This commit is contained in:
StevenRS11
2013-10-09 23:42:55 -04:00
parent b0c7c03fc6
commit 5bfd40f2b2
2 changed files with 13 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ public class CommandCreateDungeonRift extends DDCommandBase
if (result != null)
{
//Create a rift to our selected dungeon and notify the player
//TODO currently crashes
//TODO currently crashes, need to create the dimension first
dimension = PocketManager.getDimensionData(sender.worldObj);
link = dimension.createLink(x, y + 1, z, LinkTypes.DUNGEON);
PocketManager.getDimensionData(link.destination().getDimension()).initializeDungeon(x, y + 1, z, orientation,link, result);