diff options
author | EvilSeph <evilseph@gmail.com> | 2012-03-06 19:59:15 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-03-07 23:51:55 -0500 |
commit | 7a8ef4f6a424e907095ac5402cf903e388ad80f8 (patch) | |
tree | 84a98678723a9b13a0fb2fa490f3b4439fccf95b /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | b5af5adc7e48151f7bed1cb80a69d136f49e5836 (diff) | |
download | craftbukkit-7a8ef4f6a424e907095ac5402cf903e388ad80f8.tar craftbukkit-7a8ef4f6a424e907095ac5402cf903e388ad80f8.tar.gz craftbukkit-7a8ef4f6a424e907095ac5402cf903e388ad80f8.tar.lz craftbukkit-7a8ef4f6a424e907095ac5402cf903e388ad80f8.tar.xz craftbukkit-7a8ef4f6a424e907095ac5402cf903e388ad80f8.zip |
Extremely hackish fix for the entity interactivity issue. Fixes BUKKIT-960
Diffstat (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java index 9f5e6e00..83f0afb9 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -119,7 +119,8 @@ public class NetLoginHandler extends NetHandler { this.server.serverConfigurationManager.a(entityplayer, worldserver); // this.server.serverConfigurationManager.sendAll(new Packet3Chat("\u00A7e" + entityplayer.name + " joined the game.")); // CraftBukkit - message moved to join event this.server.serverConfigurationManager.c(entityplayer); - netserverhandler.a(entityplayer.locX, entityplayer.locY, entityplayer.locZ, entityplayer.yaw, entityplayer.pitch); + // CraftBukkit - temporary initial join teleport function, houses hacky entity fix. + netserverhandler.initialJoin(entityplayer.locX, entityplayer.locY, entityplayer.locZ, entityplayer.yaw, entityplayer.pitch); this.server.networkListenThread.a(netserverhandler); netserverhandler.sendPacket(new Packet4UpdateTime(entityplayer.getPlayerTime())); // CraftBukkit - add support for player specific time Iterator iterator = entityplayer.getEffects().iterator(); |