Skip to content

Commit

Permalink
Hopefully fixed rare instance of boss chest replaced by spawner
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackJar72 committed Jun 9, 2021
1 parent feb4ede commit 15019d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion main/java/jaredbgreat/dldungeons/Info.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ 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(),
spawner.getY(),
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);
}
}


Expand Down
2 changes: 1 addition & 1 deletion main/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand Down

0 comments on commit 15019d1

Please sign in to comment.