Reduced initial time delay

The sky always takes 45 seconds to sync after logging in, after which
you visibly see the sky change from light to dark and vice versa.
This commit is contained in:
Treeku
2014-05-01 12:42:57 +01:00
parent 4b6a7e3667
commit a1a4c40b30
+1 -1
View File
@@ -124,7 +124,7 @@ public class PlayerService implements INetworkDispatch {
ServerTimeMessage time = new ServerTimeMessage(core.getGalacticTime() / 1000);
IoBuffer packet = time.serialize();
creature.getClient().getSession().write(packet);
}, 45, 45, TimeUnit.SECONDS));
}, 5, 45, TimeUnit.SECONDS));
scheduleList.add(scheduler.scheduleAtFixedRate(() -> {
PlayerObject player = (PlayerObject) creature.getSlottedObject("ghost");