diff options
Diffstat (limited to 'patches/server/0058-Expose-server-CommandMap.patch')
-rw-r--r-- | patches/server/0058-Expose-server-CommandMap.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0058-Expose-server-CommandMap.patch b/patches/server/0058-Expose-server-CommandMap.patch new file mode 100644 index 0000000000..7e5affaf5a --- /dev/null +++ b/patches/server/0058-Expose-server-CommandMap.patch @@ -0,0 +1,18 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: kashike <[email protected]> +Date: Thu, 3 Mar 2016 02:15:57 -0600 +Subject: [PATCH] Expose server CommandMap + + +diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java +index 2ca22c4d3f15ec3d7c2f8abf68ce7d810fe7c3ea..61f2e7faa5c5497eb5c45e127166b933c532036a 100644 +--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java ++++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java +@@ -2143,6 +2143,7 @@ public final class CraftServer implements Server { + return this.helpMap; + } + ++ @Override // Paper - add override + public SimpleCommandMap getCommandMap() { + return this.commandMap; + } |