From e77d82839d92c114b242f6208a0ab9562ef2dc04 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 19 Sep 2022 21:04:25 +0200 Subject: [PATCH] Hotfix lightning rods Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 2 +- BauSystem_Main/src/BauSystem_de.properties | 2 +- .../bausystem/features/slaves/laufbau/BlockBoundingBox.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index d0ded149..c02e1194 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -1127,7 +1127,7 @@ LAUFBAU_SETTINGS_GUI_BACK = §eBack LAUFBAU_SETTINGS_TOGGLE = §eClick §8-§7 Toggle LAUFBAU_SETTINGS_ADVANCED = §eMiddle-Click §8-§7 Advanced settings -LAUFBAU_BLOCK_COBWEB §eCobweb +LAUFBAU_BLOCK_COBWEB = §eCobweb LAUFBAU_BLOCK_GRASS_PATH = §eGrass Path LAUFBAU_BLOCK_SOUL_SAND = §eSoul Sand LAUFBAU_BLOCK_COCOA = §eCocoa diff --git a/BauSystem_Main/src/BauSystem_de.properties b/BauSystem_Main/src/BauSystem_de.properties index e549660d..77b8aaef 100644 --- a/BauSystem_Main/src/BauSystem_de.properties +++ b/BauSystem_Main/src/BauSystem_de.properties @@ -1106,7 +1106,7 @@ LAUFBAU_SETTINGS_GUI_BACK = §eBack LAUFBAU_SETTINGS_TOGGLE = §eClick §8-§7 Toggle LAUFBAU_SETTINGS_ADVANCED = §eMiddle-Click §8-§7 Erweiterte Einstellung -LAUFBAU_BLOCK_COBWEB §eCobweb +LAUFBAU_BLOCK_COBWEB = §eCobweb LAUFBAU_BLOCK_GRASS_PATH = §eGrass Path LAUFBAU_BLOCK_SOUL_SAND = §eSoul Sand LAUFBAU_BLOCK_COCOA = §eCocoa diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/BlockBoundingBox.java b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/BlockBoundingBox.java index 315b3c4b..8201d369 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/BlockBoundingBox.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/BlockBoundingBox.java @@ -228,15 +228,15 @@ public class BlockBoundingBox { if (Core.getVersion() >= 19) { Directional lightningRodBottomTop = (Directional) Material.LIGHTNING_ROD.createBlockData(); - endRodBottomTop.setFacing(BlockFace.UP); + lightningRodBottomTop.setFacing(BlockFace.UP); addPixel(lightningRodBottomTop, 6, 0, 6, 4, 16, 4, createItem("LAUFBAU_BLOCK_LIGHTNING_ROD", Material.LIGHTNING_ROD, "LAUFBAU_FACING_UP", "LAUFBAU_FACING_DOWN")); Directional lightningRodNorthSouth = (Directional) Material.LIGHTNING_ROD.createBlockData(); - endRodNorthSouth.setFacing(BlockFace.NORTH); + lightningRodNorthSouth.setFacing(BlockFace.NORTH); addPixel(lightningRodNorthSouth, 6, 6, 0, 4, 4, 16, createItem("LAUFBAU_BLOCK_LIGHTNING_ROD", Material.LIGHTNING_ROD, "LAUFBAU_FACING_NORTH", "LAUFBAU_FACING_SOUTH")); Directional lightningRodEastWest = (Directional) Material.LIGHTNING_ROD.createBlockData(); - endRodEastWest.setFacing(BlockFace.EAST); + lightningRodEastWest.setFacing(BlockFace.EAST); addPixel(lightningRodEastWest, 0, 6, 6, 16, 4, 4, createItem("LAUFBAU_BLOCK_LIGHTNING_ROD", Material.LIGHTNING_ROD, "LAUFBAU_FACING_EAST", "LAUFBAU_FACING_WEST")); }