Paper/Spigot-Server-Patches/0046-Expose-server-CommandMap.patch

19 lines
749 B
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2016-02-15 23:11:57 +08:00
From: kashike <kashike@vq.lc>
2016-03-01 07:09:49 +08:00
Date: Thu, 3 Mar 2016 02:15:57 -0600
2016-02-15 23:11:57 +08:00
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 697246492a4bf31e84ce3d9f4e35c46f54b7eb7d..1cf8fd93a45fb76fc1638c7fd8751314d4c813e3 100644
2016-02-15 23:11:57 +08:00
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -1629,6 +1629,7 @@ public final class CraftServer implements Server {
2016-02-15 23:11:57 +08:00
return helpMap;
}
+ @Override // Paper - add override
public SimpleCommandMap getCommandMap() {
return commandMap;
}