summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2012-01-14 01:46:22 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2012-01-14 01:46:22 +0000
commit9ac06e7720d4bd6b013f96876b18c7332c2d5a1a (patch)
tree3848416d3c5b3d8d5653f42743d83f3dfefdd473 /src/main/java/net/minecraft/server
parent4dc2065f54896de666acdc178dc780f86076c8de (diff)
downloadcraftbukkit-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')
-rw-r--r--src/main/java/net/minecraft/server/NetLoginHandler.java1
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));