diff --git a/main/java/jaredbgreat/dldungeons/Info.java b/main/java/jaredbgreat/dldungeons/Info.java index dab6b5f..6114df7 100644 --- a/main/java/jaredbgreat/dldungeons/Info.java +++ b/main/java/jaredbgreat/dldungeons/Info.java @@ -12,7 +12,7 @@ public final class Info { public static final String OLD_ID = "DLDungeonsJBG"; public static final String ID = "dldungeonsjbg"; public static final String NAME = "Doomlike Dungeons"; - public static final String VERSION = "1.14.4"; + public static final String VERSION = "1.14.5"; public static final String MINECRAFT = "1.12.2"; public static final String CHANNEL = "JBGDungeons"; public static final String LOG_NAME = "DLDUNGEONS"; diff --git a/main/java/jaredbgreat/dldungeons/planner/mapping/ChunkFeatures.java b/main/java/jaredbgreat/dldungeons/planner/mapping/ChunkFeatures.java index b70666c..9e5014f 100644 --- a/main/java/jaredbgreat/dldungeons/planner/mapping/ChunkFeatures.java +++ b/main/java/jaredbgreat/dldungeons/planner/mapping/ChunkFeatures.java @@ -50,6 +50,10 @@ public void addEntrance(AbstractEntrance entrance) { * @param room */ public void buildTileEntites(Dungeon dungeon, MapMatrix map, int shiftX, int shiftZ) { + for(BasicChest chest : chests) { + RegisteredBlock.placeChest(map.world, shiftX + chest.mx, chest.my, shiftZ + chest.mz); + chest.place(map.world, shiftX + chest.mx, chest.my, shiftZ + chest.mz, dungeon.random); + } for(Spawner spawner : spawners) { RegisteredBlock.placeSpawner(map.world, shiftX + spawner.getX(), @@ -57,10 +61,6 @@ public void buildTileEntites(Dungeon dungeon, MapMatrix map, int shiftX, int shi shiftZ + spawner.getZ(), spawner.getMob()); } - for(BasicChest chest : chests) { - RegisteredBlock.placeChest(map.world, shiftX + chest.mx, chest.my, shiftZ + chest.mz); - chest.place(map.world, shiftX + chest.mx, chest.my, shiftZ + chest.mz, dungeon.random); - } } diff --git a/main/resources/mcmod.info b/main/resources/mcmod.info index f5034a8..d8adcb2 100644 --- a/main/resources/mcmod.info +++ b/main/resources/mcmod.info @@ -3,7 +3,7 @@ "modid": "dldungeonsjbg", "name": "Doomlike Dungeons", "description": "Procedurally generates multiroom dungeons resembling Doom levels into the world.", - "version": "1.14.4", + "version": "1.14.5", "mcversion": "1.12.2", "url": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1293843-doomlike-dungeons", "updateUrl": "",