diff --git a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java index 9235b2e..95e14c7 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/BauSystem.java @@ -88,7 +88,7 @@ public class BauSystem extends JavaPlugin implements Listener { getCommand("skull").setExecutor(new CommandSkull()); getCommand("loader").setExecutor(new CommandLoader()); getCommand("lockschem").setExecutor(new CommandLockschem()); - getCommand("gills").setExecutor(new CommandGills()); + getCommand("watervision").setExecutor(new CommandGills()); Bukkit.getPluginManager().registerEvents(this, this); Bukkit.getPluginManager().registerEvents(new RegionListener(), this); diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandGills.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandGills.java index 6f38401..66f321b 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandGills.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandGills.java @@ -19,13 +19,13 @@ public class CommandGills implements CommandExecutor { for(PotionEffect effect : player.getActivePotionEffects()){ if(effect.getType().equals(PotionEffectType.WATER_BREATHING)){ - player.sendMessage(BauSystem.PREFIX + "Kiemen deaktiviert"); + player.sendMessage(BauSystem.PREFIX + "Wassersicht deaktiviert"); player.removePotionEffect(PotionEffectType.WATER_BREATHING); return false; } } player.addPotionEffect(new PotionEffect(PotionEffectType.WATER_BREATHING, 1000000, 255, false, false)); - player.sendMessage(BauSystem.PREFIX + "Kiemen aktiviert"); + player.sendMessage(BauSystem.PREFIX + "Wassersicht aktiviert"); return false; } } diff --git a/BauSystem_Main/src/plugin.yml b/BauSystem_Main/src/plugin.yml index 0f92685..32285a4 100644 --- a/BauSystem_Main/src/plugin.yml +++ b/BauSystem_Main/src/plugin.yml @@ -26,4 +26,6 @@ commands: loader: nightvision: aliases: nv + watervision: + aliases: wv lockschem: \ No newline at end of file