diff --git a/StevenDimDoors/mod_pocketDim/SchematicLoader.java b/StevenDimDoors/mod_pocketDim/SchematicLoader.java index 3afe6adb..6652b1cc 100644 --- a/StevenDimDoors/mod_pocketDim/SchematicLoader.java +++ b/StevenDimDoors/mod_pocketDim/SchematicLoader.java @@ -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; + } + diff --git a/StevenDimDoors/mod_pocketDim/helpers/DungeonHelper.java b/StevenDimDoors/mod_pocketDim/helpers/DungeonHelper.java index 5c3286f9..c01ebcb3 100644 --- a/StevenDimDoors/mod_pocketDim/helpers/DungeonHelper.java +++ b/StevenDimDoors/mod_pocketDim/helpers/DungeonHelper.java @@ -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) {