From 348ed47d196a3ed8abfd2c35d94fc0e26dcfbf1b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 27 Dec 2021 13:57:54 +0100 Subject: [PATCH] Update message keys Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 4 ++-- .../bausystem/features/util/items/SelectBauGuiItem.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index 7cc57a9a..13b735f2 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -1062,8 +1062,8 @@ TNT_CLICK_VELOCITY_Y = §7Velocity §eY§8: §e{0} TNT_CLICK_VELOCITY_Z = §7Velocity §eZ§8: §e{0} #Select Util -CHOOSE_EXTENSION ="Extension auswählen" -CHOOSE_SELECTION ="Auswahl auswählen" +SELECT_GUI_CHOOSE_EXTENSION = Extension auswählen +SELECT_GUI_CHOOSE_SELECTION = Auswahl auswählen # Warp WARP_DISALLOWED = §cDu darfst hier nicht das Warp System nutzen diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java index 4bbc4d0e..9430955b 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java @@ -52,7 +52,7 @@ public class SelectBauGuiItem extends BauGuiItem { private static void selectExtension(Player p, RegionType type) { p.closeInventory(); - SWInventory inv = new SWInventory(p, 9, BauSystem.MESSAGE.parse("CHOOSE_EXTENSION", p)); + SWInventory inv = new SWInventory(p, 9, BauSystem.MESSAGE.parse("SELECT_GUI_CHOOSE_EXTENSION", p)); inv.setItem(2, new SWItem(Material.END_STONE, ColorConfig.HIGHLIGHT + "Normal", clickType -> selectFinish(p, type, RegionExtensionType.NORMAL))); inv.setItem(6, new SWItem(Material.PISTON, ColorConfig.HIGHLIGHT + "Ausfahrmaße", clickType -> selectFinish(p, type, RegionExtensionType.EXTENSION))); inv.open(); @@ -75,7 +75,7 @@ public class SelectBauGuiItem extends BauGuiItem { public boolean click(ClickType click, Player p) { if (click == ClickType.RIGHT) { p.closeInventory(); - SWInventory inv = new SWInventory(p, 9, BauSystem.MESSAGE.parse("CHOOSE_SELECTION", p)); + SWInventory inv = new SWInventory(p, 9, BauSystem.MESSAGE.parse("SELECT_GUI_CHOOSE_SELECTION", p)); inv.setItem(2, new SWItem(Material.REDSTONE_BLOCK, ColorConfig.HIGHLIGHT + "Baurahmen", clickType -> selectExtension(p, RegionType.BUILD))); inv.setItem(4, new SWItem(Material.LECTERN, ColorConfig.HIGHLIGHT + "Bauplattform", clickType -> selectFinish(p, RegionType.NORMAL, RegionExtensionType.NORMAL))); inv.setItem(6, new SWItem(Material.END_STONE, ColorConfig.HIGHLIGHT + "Testblock", clickType -> selectExtension(p, RegionType.TESTBLOCK)));