Implement game time locking

implement for quests
This commit is contained in:
KingRainbow44
2023-05-08 00:11:29 -04:00
Unverified
parent d32f6982be
commit a4f5d3286d
4 changed files with 61 additions and 11 deletions
@@ -510,7 +510,8 @@ public final class Scene {
this.finishLoading();
this.checkPlayerRespawn();
if (this.tickCount++ % 10 == 0) broadcastPacket(new PacketSceneTimeNotify(this));
if (this.tickCount++ % 10 == 0)
this.broadcastPacket(new PacketSceneTimeNotify(this));
}
/** Validates a player's current position. Teleports the player if the player is out of bounds. */