diff options
author | md_5 <md_5@bigpond.com> | 2012-11-02 18:55:42 +1100 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-11-02 16:36:43 -0400 |
commit | 53d24e2b22c29b2ae0ab96af4855d932b8428454 (patch) | |
tree | 766a41e8500c0f36e261e4e4eb50a0868d74e209 /src/main/java/org/bukkit | |
parent | 3dd0580d50fe05afce8dba20cf9e383624f56ae4 (diff) | |
download | craftbukkit-53d24e2b22c29b2ae0ab96af4855d932b8428454.tar craftbukkit-53d24e2b22c29b2ae0ab96af4855d932b8428454.tar.gz craftbukkit-53d24e2b22c29b2ae0ab96af4855d932b8428454.tar.lz craftbukkit-53d24e2b22c29b2ae0ab96af4855d932b8428454.tar.xz craftbukkit-53d24e2b22c29b2ae0ab96af4855d932b8428454.zip |
[Bleeding] Fix mistranslation affecting time of the server vs time of day.
Fixes BUKKIT-2797
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 45091168..f4b19b85 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -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())); } } |