Changed max player count from 126 to 60 for ingame player list rendering fixes
Dieser Commit ist enthalten in:
Ursprung
aece687d01
Commit
a1f8d3fd47
@ -101,10 +101,10 @@ public class NetLoginHandler extends NetHandler {
|
|||||||
byte b1 = (byte) worldserver.difficulty;
|
byte b1 = (byte) worldserver.difficulty;
|
||||||
|
|
||||||
worldserver.getClass();
|
worldserver.getClass();
|
||||||
// CraftBukkit start -- Don't send a higher than 126 MaxPlayer size, otherwise the PlayerInfo window won't render correctly.
|
// CraftBukkit start -- Don't send a higher than 60 MaxPlayer size, otherwise the PlayerInfo window won't render correctly.
|
||||||
int maxPlayers = this.server.serverConfigurationManager.h();
|
int maxPlayers = this.server.serverConfigurationManager.h();
|
||||||
if (maxPlayers > 126) {
|
if (maxPlayers > 60) {
|
||||||
maxPlayers = 126;
|
maxPlayers = 60;
|
||||||
}
|
}
|
||||||
Packet1Login packet1login1 = new Packet1Login("", i, j, k, b0, b1, (byte) -128, (byte) maxPlayers);
|
Packet1Login packet1login1 = new Packet1Login("", i, j, k, b0, b1, (byte) -128, (byte) maxPlayers);
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren