diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-29 16:06:11 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-29 16:06:11 +0100 |
commit | c5a4bfd291af3a381a8c3f2a4a81766522039236 (patch) | |
tree | 7ca03980bdf55c1b5028637720fc7710cc189d2e /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | 3173b68bbe223ba483e77e53787d98bbb380a475 (diff) | |
download | craftbukkit-c5a4bfd291af3a381a8c3f2a4a81766522039236.tar craftbukkit-c5a4bfd291af3a381a8c3f2a4a81766522039236.tar.gz craftbukkit-c5a4bfd291af3a381a8c3f2a4a81766522039236.tar.lz craftbukkit-c5a4bfd291af3a381a8c3f2a4a81766522039236.tar.xz craftbukkit-c5a4bfd291af3a381a8c3f2a4a81766522039236.zip |
Use OO > new method
Diffstat (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java index 82e3804c..afa1818b 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -112,7 +112,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(); + entityplayer.getBukkitEntity().sendSupportedChannels(); // CraftBukkit end netserverhandler.sendPacket(new Packet6SpawnPosition(chunkcoordinates.x, chunkcoordinates.y, chunkcoordinates.z)); |