diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/NightVisionCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/NightVisionCommand.java index fb531815..a9b842f3 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/NightVisionCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/NightVisionCommand.java @@ -30,12 +30,12 @@ import org.bukkit.potion.PotionEffectType; @Linked(LinkageType.COMMAND) public class NightVisionCommand extends SWCommand { - protected NightVisionCommand() { + public NightVisionCommand() { super("nightvision", "nv", "light"); } @Register(help = true) - public void genericHelp(Player p, String[] args) { + public void genericHelp(Player p, String... args) { p.sendMessage("§8/§enightvision §8- §7Schalte Nightvision an oder aus."); } diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/SpeedCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/SpeedCommand.java index 7c2e42e6..e51009ca 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/SpeedCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/SpeedCommand.java @@ -33,7 +33,7 @@ public class SpeedCommand extends SWCommand { } @Register(help = true) - public void genericHelp(Player p, String[] args) { + public void genericHelp(Player p, String... args) { p.sendMessage("§8/§espeed §8[§e1§8-§e10§8] §8- §7Setzte deine Flug- und Laufgeschindigkeit."); p.sendMessage(BauSystem.PREFIX + "Aktuelle geschwindigkeit: §e" + p.getFlySpeed() * 10F); }