diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index 695a891f..f58d54b6 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -1073,6 +1073,9 @@ SPEED_ITEM = §eGeschwindigkeit SPEED_ITEM_LORE = §7Aktuell: §e SPEED_TAB_NAME = Geschwindigkeit eingeben +WATER_SIGHT_ON = §7Wassersicht: &eAktiviert +WATER_SIGHT_OFF = §7Wassersicht: &eDeaktiviert + TNT_CLICK_HEADER = §8---=== §eTNT §8===--- TNT_CLICK_ORDER = §eEntity Order§8: §e{0} TNT_CLICK_FUSE_TIME = §eFuseTime§8: §e{0} 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 67621e71..ddceb05d 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 @@ -19,6 +19,7 @@ package de.steamwar.bausystem.features.util.items; +import de.steamwar.bausystem.BauSystem; import de.steamwar.bausystem.Permission; import de.steamwar.bausystem.config.ColorConfig; import de.steamwar.bausystem.linkage.specific.BauGuiItem; @@ -41,9 +42,9 @@ public class WaterVisionBauGuiItem extends BauGuiItem { @Override public ItemStack getItem(Player player) { if (player.hasPotionEffect(PotionEffectType.WATER_BREATHING)) { - return new SWItem(Material.WATER_BUCKET, ColorConfig.BASE + "Wassersicht: " + ColorConfig.HIGHLIGHT + "Aktiviert").getItemStack(); + return new SWItem(Material.WATER_BUCKET, BauSystem.MESSAGE.parse("WATER_SIGHT_ON", player)).getItemStack(); } else { - return new SWItem(Material.BUCKET, ColorConfig.BASE + "Wassersicht: " + ColorConfig.HIGHLIGHT + "Deaktiviert").getItemStack(); + return new SWItem(Material.BUCKET, BauSystem.MESSAGE.parse("WATER_SIGHT_OFF", player)).getItemStack(); } }