13
0
geforkt von Mirrors/Paper

Forces clients to update to the new time immediately when setTime or setFullTime is called.

By: afforess <afforess@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-04-02 04:04:57 -04:00
Ursprung 3547e8a410
Commit f8292a5eb6

Datei anzeigen

@ -418,6 +418,12 @@ public class CraftWorld implements World {
public void setFullTime(long time) {
world.a(time);
//Forces the client to update to the new time immediately
for (Player p: getPlayers()) {
CraftPlayer cp = (CraftPlayer) p;
cp.getHandle().a.b(new Packet4UpdateTime(time));
}
}
public Environment getEnvironment() {