Deleting dungeons is still buggy

This commit is contained in:
StevenRS11
2013-10-09 19:07:58 -04:00
parent b9bd42a345
commit 9420b8edf2
4 changed files with 26 additions and 4 deletions

View File

@@ -86,6 +86,7 @@ public class CommandCreateDungeonRift extends DDCommandBase
if (result != null)
{
//Create a rift to our selected dungeon and notify the player
//TODO currently crashes
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);