aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0060-Expose-server-CommandMap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0060-Expose-server-CommandMap.patch')
-rw-r--r--patches/server/0060-Expose-server-CommandMap.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/server/0060-Expose-server-CommandMap.patch b/patches/server/0060-Expose-server-CommandMap.patch
new file mode 100644
index 0000000000..c930d0feae
--- /dev/null
+++ b/patches/server/0060-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 4a1305df41c42be65dbb0438066e148e0b22aaaf..603ad4841151234d3b8e0e6650a44d63ca9ed921 100644
+--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
++++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+@@ -2140,6 +2140,7 @@ public final class CraftServer implements Server {
+ return this.helpMap;
+ }
+
++ @Override // Paper - add override
+ public SimpleCommandMap getCommandMap() {
+ return this.commandMap;
+ }