Expose server CommandMap

This commit is contained in:
Riley Park
2016-02-29 19:48:59 -06:00
parent a445dc4f3f
commit 07c65b03e0
2 changed files with 22 additions and 0 deletions

View File

@@ -1835,6 +1835,15 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
public double[] getTPS();
// Paper end
// Paper start
/**
* Gets the active {@link org.bukkit.command.CommandMap}
*
* @return the active command map
*/
@NotNull
org.bukkit.command.CommandMap getCommandMap();
/**
* Get the advancement specified by this key.
*