-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
The world time is definitely updated before the event is fired (see ServerWorld#tick, where it calls wakeUpAllPlayers). There is also SleepFinishedTimeEvent, which fires when the server decides that all players are asleep and changes the time to day, it is fired before the time changes and before all players are woken up. -
Repo is fixed. How do I run my client with system properties? It works on the server but when I add it to JVM arguments in the launcher's installation settings the game crashes.
-
Hi, I'm trying to detect when the player wakes up in the morning. The Player Wakes Up Event is firing whenever I press wake up.. So I'm wondering if there's a workaround to only run my code if the player slept through the night? Checking if the world is daytime isn't working, as the event seems to fire before the time is changed. Thanks for your help!
-
Topics
-
Who's Online (See full list)