Patched bug with dungeon selection on old worlds
This commit is contained in:
parent
efa5db10f4
commit
77965d7d0d
2 changed files with 8 additions and 9 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue