diff options
author | EvilSeph <evilseph@unaligned.org> | 2011-06-17 02:29:16 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-06-17 02:29:16 -0400 |
commit | cc1b0a005cdb14007c4647599a984967ff637659 (patch) | |
tree | 14b5d081aa16d48fee9d4380ca7684191ec4b53e /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | a70a5abc3d44cc7ac8b414d533463f2c5f87c15e (diff) | |
download | craftbukkit-cc1b0a005cdb14007c4647599a984967ff637659.tar craftbukkit-cc1b0a005cdb14007c4647599a984967ff637659.tar.gz craftbukkit-cc1b0a005cdb14007c4647599a984967ff637659.tar.lz craftbukkit-cc1b0a005cdb14007c4647599a984967ff637659.tar.xz craftbukkit-cc1b0a005cdb14007c4647599a984967ff637659.zip |
Added per player time support. Thanks eisental, Shamebot and needspeed10!
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 88d9565c..473b4989 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -97,7 +97,7 @@ public class NetLoginHandler extends NetHandler { this.server.serverConfigurationManager.c(entityplayer); netserverhandler.a(entityplayer.locX, entityplayer.locY, entityplayer.locZ, entityplayer.yaw, entityplayer.pitch); this.server.networkListenThread.a(netserverhandler); - netserverhandler.sendPacket(new Packet4UpdateTime(worldserver.getTime())); + netserverhandler.sendPacket(new Packet4UpdateTime(entityplayer.getPlayerTime())); // CraftBukkit - add support for player specific time entityplayer.syncInventory(); } |