auto restart system

master
Alex 2021-12-27 20:46:45 +01:00
parent 1a39e6f0dc
commit d1f9468f6e
1 changed files with 2 additions and 5 deletions

View File

@ -6,9 +6,6 @@ import earth.krakatao.KraSocketClientConfig;
import earth.krakatao.events.KraSocketClientEventInitiater;
import earth.krakatao.events.KraSocketClientEventInterface;
import earth.krakatao.protocol.KraSocketClientProtocol;
import earth.krakatao.protocol.KraSocketClientProtocolDest;
import earth.krakatao.protocol.KraSocketClientProtocolMessage;
import earth.krakatao.protocol.KraSocketClientProtocolStatus;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.List;
@ -76,13 +73,13 @@ public class KrakatoaAPI extends JavaPlugin {
loadListeners();
// call to proxy that the server is only for the auto restart system
/*
KraSocketClientProtocolMessage kraSocketClientProtocolMessage = new KraSocketClientProtocolMessage(
KraSocketClientProtocolStatus.SEND.getStatus(), 0,
KraSocketClientProtocolDest.PROXY.getStatus(), "", (short) 59739,
CloudNetDriver.getInstance().getComponentName());
this.kraSocketClient.getSocketClient().SendMessage(kraSocketClientProtocolMessage);
this.kraSocketClient.getSocketClient().SendMessage(kraSocketClientProtocolMessage); */
}
@Override