[Bleeding] Fix mistranslation affecting time of the server vs time of day.

Fixes BUKKIT-2797

By: md_5 <md_5@bigpond.com>
This commit is contained in:
CraftBukkit/Spigot 2012-11-02 18:55:42 +11:00
parent ac64db58aa
commit e9a41e71d6

View File

@ -419,7 +419,7 @@ public class CraftWorld implements World {
}
public long getFullTime() {
return world.getTime();
return world.F();
}
public void setFullTime(long time) {
@ -430,7 +430,7 @@ public class CraftWorld implements World {
CraftPlayer cp = (CraftPlayer) p;
if (cp.getHandle().netServerHandler == null) continue;
cp.getHandle().netServerHandler.sendPacket(new Packet4UpdateTime(cp.getHandle().getPlayerTime(), cp.getHandle().world.F()));
cp.getHandle().netServerHandler.sendPacket(new Packet4UpdateTime(cp.getHandle().world.getTime(), cp.getHandle().getPlayerTime()));
}
}