diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-01-14 01:46:22 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-01-14 01:46:22 +0000 |
commit | 9ac06e7720d4bd6b013f96876b18c7332c2d5a1a (patch) | |
tree | 3848416d3c5b3d8d5653f42743d83f3dfefdd473 /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | 4dc2065f54896de666acdc178dc780f86076c8de (diff) | |
download | craftbukkit-9ac06e7720d4bd6b013f96876b18c7332c2d5a1a.tar craftbukkit-9ac06e7720d4bd6b013f96876b18c7332c2d5a1a.tar.gz craftbukkit-9ac06e7720d4bd6b013f96876b18c7332c2d5a1a.tar.lz craftbukkit-9ac06e7720d4bd6b013f96876b18c7332c2d5a1a.tar.xz craftbukkit-9ac06e7720d4bd6b013f96876b18c7332c2d5a1a.zip |
Fixed informing players of supported Plugin Channels
Diffstat (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java index 9ed3b298..6abfe146 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -105,6 +105,7 @@ public class NetLoginHandler extends NetHandler { maxPlayers = 60; } netserverhandler.sendPacket(new Packet1Login("", entityplayer.id, worldserver.getSeed(), worldserver.getWorldData().getType(), entityplayer.itemInWorldManager.getGameMode(), (byte) worldserver.worldProvider.dimension, (byte) worldserver.difficulty, (byte) worldserver.height, (byte) maxPlayers)); + entityplayer.getPlayer().sendSupportedChannels(); // CraftBukkit end netserverhandler.sendPacket(new Packet6SpawnPosition(chunkcoordinates.x, chunkcoordinates.y, chunkcoordinates.z)); |