Patched bug with dungeon selection on old worlds

This commit is contained in:
StevenRS11 2013-06-18 18:08:19 -04:00
parent efa5db10f4
commit 77965d7d0d
2 changed files with 8 additions and 9 deletions

View file

@ -76,12 +76,17 @@ public class SchematicLoader
String filePath=DungeonHelper.instance().defaultBreak.schematicPath;
if(dimHelper.dimList.containsKey(link.destDimID))
{
if(dimHelper.dimList.get(link.destDimID).dungeonGenerator!=null)
if(dimHelper.dimList.get(link.destDimID).dungeonGenerator==null)
{
filePath = dimHelper.dimList.get(link.destDimID).dungeonGenerator.schematicPath;
DungeonHelper.instance().generateDungeonLink(link);
}
filePath = dimHelper.dimList.get(link.destDimID).dungeonGenerator.schematicPath;
}

View file

@ -523,12 +523,6 @@ public class DungeonHelper
boolean flag = true;
try
{
if (dimHelper.dimList.get(incoming.destDimID) != null &&
dimHelper.dimList.get(incoming.destDimID).dungeonGenerator != null)
{
mod_pocketDim.loader.init(incoming);
return;
}
if (incoming.destYCoord > 15)
{