PaperMC/Spigot-Server-Patches/0090-Expose-server-CommandMap.patch

22 lines
711 B
Diff
Raw Normal View History

2016-02-15 16:11:57 +01:00
From db26b15a3200ab4d0306f0879bb88887938493df Mon Sep 17 00:00:00 2001
From: kashike <kashike@vq.lc>
Date: Mon, 15 Feb 2016 07:11:28 -0800
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 642880e..7b8fdc3 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -1558,6 +1558,7 @@ public final class CraftServer implements Server {
return helpMap;
}
+ @Override // Paper - add override
public SimpleCommandMap getCommandMap() {
return commandMap;
}
--
2.7.0.rc0.20.g4b9ab0e