Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 21:10:10 +01:00
Fixed sending maxPlayers at initial login
Dieser Commit ist enthalten in:
Ursprung
f1f9802ded
Commit
efc9ced128
@ -111,7 +111,7 @@ public class NetLoginHandler extends NetHandler {
|
||||
if (maxPlayers > 60) {
|
||||
maxPlayers = 60;
|
||||
}
|
||||
netserverhandler.sendPacket(new Packet1Login("", entityplayer.id, worldserver.getWorldData().getType(), entityplayer.itemInWorldManager.getGameMode(), worldserver.worldProvider.dimension, (byte) worldserver.difficulty, (byte) worldserver.getHeight(), (byte) this.server.serverConfigurationManager.getMaxPlayers()));
|
||||
netserverhandler.sendPacket(new Packet1Login("", entityplayer.id, worldserver.getWorldData().getType(), entityplayer.itemInWorldManager.getGameMode(), worldserver.worldProvider.dimension, (byte) worldserver.difficulty, (byte) worldserver.getHeight(), (byte) maxPlayers));
|
||||
entityplayer.getBukkitEntity().sendSupportedChannels();
|
||||
// CraftBukkit end
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren