Added per player time support. Thanks eisental, Shamebot and needspeed10!

This commit is contained in:
EvilSeph
2011-06-17 02:29:16 -04:00
parent a70a5abc3d
commit cc1b0a005c
5 changed files with 38 additions and 4 deletions

View File

@@ -424,7 +424,7 @@ public class CraftWorld implements World {
// Forces the client to update to the new time immediately
for (Player p: getPlayers()) {
CraftPlayer cp = (CraftPlayer) p;
cp.getHandle().netServerHandler.sendPacket(new Packet4UpdateTime(time));
cp.getHandle().netServerHandler.sendPacket(new Packet4UpdateTime(cp.getHandle().getPlayerTime()));
}
}