diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/world/StopCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/world/StopCommand.java index a3256219..6629e505 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/world/StopCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/world/StopCommand.java @@ -44,7 +44,7 @@ public class StopCommand extends SWCommand { Bukkit.getServer().shutdown(); } - @ClassMapper(value = CommandSender.class, local = true) + @ClassValidator(value = CommandSender.class, local = true) public TypeValidator validator() { return (commandSender, sender, messageSender) -> { if (!(sender instanceof Player)) {