Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/main/java/cn/nukkit/network/RakNetInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ public void setName(String name) {
ProtocolInfo.CURRENT_PROTOCOL + ";" +
ProtocolInfo.MINECRAFT_VERSION_NETWORK + ";" +
info.getPlayerCount() + ";" +
info.getMaxPlayerCount() + ";" +
Server.getInstance().getServerUniqueId().toString());
info.getMaxPlayerCount());
}

public void setPortCheck(boolean value) {
Expand Down Expand Up @@ -326,4 +325,4 @@ private DataPacket getPacket(byte[] buffer) {

return data;
}
}
}
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/utils/ClientChainData.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Nukkit Project
* ===============
*/
public class ClientChainData {
public final class ClientChainData {

public static ClientChainData of(byte[] buffer) {
return new ClientChainData(buffer);
Expand Down