Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
shulng committed Sep 18, 2024
1 parent e8ab6b0 commit 3574825
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/cc/baka9/catseedlogin/bungee/Communication.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.net.Socket;

import cc.baka9.catseedlogin.util.CommunicationAuth;
import net.md_5.bungee.api.ProxyServer;

/**
* bc 与 bukkit 的通讯交流
Expand All @@ -21,7 +20,6 @@ public static int sendConnectRequest(String playerName) {
writeMessage(writer, "Connect", playerName);
return socket.getInputStream().read();
} catch (IOException e) {
ProxyServer.getInstance().getLogger().severe("发生 I/O 异常: " + e.getMessage());
return 0;
}
}
Expand All @@ -34,7 +32,6 @@ public static void sendKeepLoggedInRequest(String playerName) {
String sign = CommunicationAuth.encryption(playerName, time, Config.AuthKey);
writeMessage(writer, "KeepLoggedIn", playerName, time, sign);
} catch (IOException e) {
ProxyServer.getInstance().getLogger().severe("发生 I/O 异常: " + e.getMessage());
}
}

Expand Down

0 comments on commit 3574825

Please sign in to comment.