From 8560cbd06a5c6aeb883ea990c2b613701d91e01a Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 26 Dec 2017 07:28:56 +1100 Subject: [PATCH] SPIGOT-3717: Fix some RCON commands By: md_5 --- paper-server/nms-patches/CommandBlockListenerAbstract.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/CommandBlockListenerAbstract.patch b/paper-server/nms-patches/CommandBlockListenerAbstract.patch index c0d98def1b..359289f072 100644 --- a/paper-server/nms-patches/CommandBlockListenerAbstract.patch +++ b/paper-server/nms-patches/CommandBlockListenerAbstract.patch @@ -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) {