Ping 1.4-1.5.2
This commit is contained in:
parent
31d777f669
commit
da9a536ace
1 changed files with 1 additions and 3 deletions
|
|
@ -102,9 +102,7 @@ public class ServerThread extends Thread {
|
|||
+ '\u0000' + this.minecraftServer.getOnlinePlayers().size()
|
||||
+ '\u0000' + this.minecraftServer.getMaxPlayers();
|
||||
clientOutput.writeShort(response.length());
|
||||
for (char c : response.toCharArray()) {
|
||||
clientOutput.writeChar(c);
|
||||
}
|
||||
clientOutput.writeUTF(response);
|
||||
// Packet data end
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue