From 27f32a10a79d993fd1e0b0f4e77171391dfa610f Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 4 Jan 2022 13:24:56 +0100 Subject: [PATCH] Fix WaterVisionBauGuiItem Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 10 ++++++---- .../features/util/items/WaterVisionBauGuiItem.java | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index 36ba5eb8..fafaa221 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -903,11 +903,16 @@ ANVIL_INV_NAME=Spieler name # StructureVoid STRUCTURE_VOID_COMMAND_HELP=§8/§estructureVoid §8-§7 Erhalte ein StructureVoid # NightVision -NIGHT_VISION_COMMAND_HELP=§8/§enightvision §8-§7 Schalte Nightvision an oder aus. +NIGHT_VISION_HELP=§8/§enightvision §8-§7 Schalte Nightvision an oder aus. NIGHT_VISION_OFF=§eNightvision deaktiviert NIGHT_VISION_ON=§eNightvision aktiviert NIGHT_VISION_ITEM_ON = §Nightvision: §eAktiviert NIGHT_VISION_ITEM_OFF = §Nightvision: §eDeaktiviert + +WATER_VISION_HELP = §8/§7watervision §8-§7 Schalte Wassersicht an oder aus. +WATER_VISION_ENABLE = §7Wassersicht: §eAktiviert +WATER_VISION_DISABLE = §7Wassersicht: §eDeaktiviert + #Navigation Wand NAVIGATION_WAND=§eNavigation Wand NAVIGATION_WAND_LEFT_CLICK=§eLeft click: jump to location @@ -1106,9 +1111,6 @@ SPEED_ITEM = §eGeschwindigkeit SPEED_ITEM_LORE = §7Aktuell: §e SPEED_TAB_NAME = Geschwindigkeit eingeben -WATER_SIGHT_ON = §7Wassersicht: §eAktiviert -WATER_SIGHT_OFF = §7Wassersicht: §eDeaktiviert - WORLDEDIT_WAND = WorldEdit Wand WORLDEDIT_LEFTCLICK = Left click: select pos #1 WORLDEDIT_RIGHTCLICK = Right click: select pos #2 diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/WaterVisionBauGuiItem.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/WaterVisionBauGuiItem.java index ac13aae8..6d375cfd 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/WaterVisionBauGuiItem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/WaterVisionBauGuiItem.java @@ -41,9 +41,9 @@ public class WaterVisionBauGuiItem extends BauGuiItem { @Override public ItemStack getItem(Player player) { if (player.hasPotionEffect(PotionEffectType.WATER_BREATHING)) { - return new SWItem(Material.WATER_BUCKET, BauSystem.MESSAGE.parse("WATER_SIGHT_ON", player)).getItemStack(); + return new SWItem(Material.WATER_BUCKET, BauSystem.MESSAGE.parse("WATER_VISION_ENABLE", player)).getItemStack(); } else { - return new SWItem(Material.BUCKET, BauSystem.MESSAGE.parse("WATER_SIGHT_OFF", player)).getItemStack(); + return new SWItem(Material.BUCKET, BauSystem.MESSAGE.parse("WATER_VISION_DISABLE", player)).getItemStack(); } }