From 9d149169400c8eb69bf00e47164cfa50c4938166 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 12 Mar 2021 17:48:41 +0100 Subject: [PATCH] Fix SWCommandUtils.commandMap --- SpigotCore_Main/src/de/steamwar/command/SWCommandUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommandUtils.java b/SpigotCore_Main/src/de/steamwar/command/SWCommandUtils.java index 87d77d5..09e1436 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommandUtils.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommandUtils.java @@ -75,7 +75,7 @@ class SWCommandUtils { commandMap = (CommandMap) commandMapField.get(Bukkit.getServer()); } catch (NoSuchFieldException | IllegalAccessException exception) { Bukkit.shutdown(); - throw new SecurityException("Oh shit. Commands cannot be register.", exception); + throw new SecurityException("Oh shit. Commands cannot be registered.", exception); } }