implement KraSocketClient

master
Alex 2021-12-27 13:38:34 +01:00
parent 9f2569b118
commit 0db831b697
1 changed files with 1 additions and 4 deletions

View File

@ -6,7 +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.KraSocketClientProtocolMessage;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.List;
@ -64,9 +63,7 @@ public class KrakatoaAPI extends JavaPlugin {
System.out.println("here " + this.kraSocketClient.sendTest());
KraSocketClientProtocolMessage kraSocketClientProtocolMessage = new KraSocketClientProtocolMessage(
(byte) 0, 0, 0, "", (short) 0, "");
this.kraSocketClient.sendMsg(kraSocketClientProtocolMessage);
this.kraSocketClient.getSocketClient().connect();
} catch (URISyntaxException e) {
e.printStackTrace();
}