mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2025-02-03 05:01:25 +01:00
Handle vanilla commands correctly in mc 1.11.
This commit is contained in:
parent
52a3e9bedb
commit
8330f58fd6
@ -74,6 +74,10 @@ public class CommandQueueWatcher {
|
||||
(plugin.getServer().getVersion().contains("MC: 1.10")
|
||||
&& plugin.getServer().getPluginCommand(cmd) == null
|
||||
&& !isCommandBookCommand)
|
||||
||
|
||||
(plugin.getServer().getVersion().contains("MC: 1.11")
|
||||
&& plugin.getServer().getPluginCommand(cmd) == null
|
||||
&& !isCommandBookCommand)
|
||||
) {
|
||||
plugin.logDebug("Dispatching command as ConsoleSender: " + ircCommand.getGameCommand());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user