mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 17:57:34 +01:00
[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:
parent
ac64db58aa
commit
e9a41e71d6
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user