mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-04 19:12:50 -04:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user