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) {
|
if (maxPlayers > 60) {
|
||||||
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();
|
entityplayer.getBukkitEntity().sendSupportedChannels();
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren