mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 15:12:13 -07:00
SPIGOT-3717: Fix some RCON commands
This commit is contained in:
@@ -184,7 +184,7 @@
|
||||
+ if (listener instanceof DedicatedServer) {
|
||||
+ sender = ((DedicatedServer) listener).console;
|
||||
+ } else if (listener instanceof RemoteControlCommandListener) {
|
||||
+ sender = ((DedicatedServer) listener).remoteConsole;
|
||||
+ sender = ((RemoteControlCommandListener) listener).C_().remoteConsole;
|
||||
+ } else if (listener instanceof CommandBlockListenerAbstract) {
|
||||
+ sender = ((CommandBlockListenerAbstract) listener).sender;
|
||||
+ } else if (listener instanceof CustomFunctionData.CustomFunctionListener) {
|
||||
|
Reference in New Issue
Block a user