diff --git a/StevenDimDoors/mod_pocketDim/DimData.java b/StevenDimDoors/mod_pocketDim/DimData.java index 8783e83c..061ddeaa 100644 --- a/StevenDimDoors/mod_pocketDim/DimData.java +++ b/StevenDimDoors/mod_pocketDim/DimData.java @@ -26,6 +26,7 @@ public class DimData implements Serializable public boolean hasDoor=false; public boolean isDimRandomRift=false; public DungeonGenerator dungeonGenerator = null; + public boolean hasMarks=false; //public boolean isPrivatePocket = false; public HashMap>> linksInThisDim=new HashMap(); HashMap dimX; diff --git a/StevenDimDoors/mod_pocketDim/DungeonGenerator.java b/StevenDimDoors/mod_pocketDim/DungeonGenerator.java index 948dbfba..a0eb9f97 100644 --- a/StevenDimDoors/mod_pocketDim/DungeonGenerator.java +++ b/StevenDimDoors/mod_pocketDim/DungeonGenerator.java @@ -15,11 +15,13 @@ public class DungeonGenerator implements Serializable public LinkData exitLink; public static Random rand = new Random(); public boolean isOpen; - public boolean hasMarks=false; + public int sideDoorsSoFar=0; public int exitDoorsSoFar=0; public int deadEndsSoFar=0; + + public DungeonGenerator(int weight, String schematicPath, Boolean isOpen) { this.weight=weight; diff --git a/StevenDimDoors/mod_pocketDim/SchematicLoader.java b/StevenDimDoors/mod_pocketDim/SchematicLoader.java index 6d9b27bd..280627ac 100644 --- a/StevenDimDoors/mod_pocketDim/SchematicLoader.java +++ b/StevenDimDoors/mod_pocketDim/SchematicLoader.java @@ -1140,7 +1140,7 @@ public class SchematicLoader Entity mob = new MobObelisk(world); mob.setLocationAndAngles(point.getX(),point.getY(), point.getZ(), 1, 1); world.spawnEntityInWorld(mob); - dimHelper.dimList.get(link.destDimID).dungeonGenerator.hasMarks=true; + dimHelper.dimList.get(link.destDimID).hasMarks=true; } diff --git a/StevenDimDoors/mod_pocketDim/world/PocketGenerator.java b/StevenDimDoors/mod_pocketDim/world/PocketGenerator.java index 87c0af72..63915ba3 100644 --- a/StevenDimDoors/mod_pocketDim/world/PocketGenerator.java +++ b/StevenDimDoors/mod_pocketDim/world/PocketGenerator.java @@ -68,7 +68,7 @@ public class PocketGenerator extends ChunkProviderGenerate implements IChunkProv if (dimData == null || dimData.dungeonGenerator == null || dimData.dungeonGenerator.isOpen|| - dimData.dungeonGenerator.hasMarks) + dimData.hasMarks) { return; }