From 933ea7875214e0c5b8564f3a5e43f9402744ce69 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 21 Aug 2022 12:42:48 +0200 Subject: [PATCH] Fix stop --- .../src/de/steamwar/bausystem/features/world/StopCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {