From 3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3 Mon Sep 17 00:00:00 2001 From: Alexdoru <57050655+Alexdoru@users.noreply.github.com> Date: Wed, 2 Oct 2024 07:31:08 +0200 Subject: Cleanup the codebase (#3311) Co-authored-by: boubou19 --- src/main/java/bartworks/system/worldgen/MapGenRuins.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/bartworks/system/worldgen/MapGenRuins.java') diff --git a/src/main/java/bartworks/system/worldgen/MapGenRuins.java b/src/main/java/bartworks/system/worldgen/MapGenRuins.java index a192575743..7c3e4046ca 100644 --- a/src/main/java/bartworks/system/worldgen/MapGenRuins.java +++ b/src/main/java/bartworks/system/worldgen/MapGenRuins.java @@ -250,7 +250,7 @@ public abstract class MapGenRuins extends WorldGenerator { this.ToBuildWith[3][0]); } else if (dx == 0 && dz == -5 && (dy == 1 || dy == 2)) { if (dy == 1) { - this.setBlock(worldObj, x + dx, y + 1, z + -5, Blocks.iron_door, 1); + this.setBlock(worldObj, x + dx, y + 1, z - 5, Blocks.iron_door, 1); } if (dy == 2) { this.setBlock(worldObj, x + dx, y + 2, z + dz, Blocks.iron_door, 8); @@ -303,7 +303,7 @@ public abstract class MapGenRuins extends WorldGenerator { this.setBlock(worldObj, x + 3, y + 1, z + dz, Blocks.crafting_table, 0); } if (dx == -3 && (dz == -3 || dz == -2)) { - this.setBlock(worldObj, x + -3, y + dy, z + dz, Blocks.chest, 5); + this.setBlock(worldObj, x - 3, y + dy, z + dz, Blocks.chest, 5); IInventory chest = (IInventory) worldObj.getTileEntity(x + dx, y + dy, z + dz); if (chest != null) { WeightedRandomChestContent.generateChestContents( -- cgit