2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-09 14:38:01 +00:00

0.12.4 | fix send command to proxies not executing on sender proxy

This commit is contained in:
mohammed jasem alaajel 2024-05-16 02:57:49 +04:00
parent 2485150ddc
commit 995c9045df
Signed by: ham1255
GPG Key ID: EF343502046229F4
2 changed files with 4 additions and 1 deletions

View File

@ -88,6 +88,9 @@ public abstract class ProxyDataManager implements Runnable {
public synchronized void sendCommandTo(String proxyToRun, String command) { public synchronized void sendCommandTo(String proxyToRun, String command) {
if (isClosed()) return; if (isClosed()) return;
if (proxyToRun.equals("allservers") || proxyToRun.equals(this.proxyId())) {
handlePlatformCommandExecution(command);
}
publishPayload(new RunCommandPayload(this.proxyId, proxyToRun, command)); publishPayload(new RunCommandPayload(this.proxyId, proxyToRun, command));
} }

View File

@ -1,2 +1,2 @@
group=com.imaginarycode.minecraft group=com.imaginarycode.minecraft
version=0.12.3 version=0.12.4