tick, packet, and render callbacks short.
Use Script.throttle for periodic work:
Script.thread only for work that needs blocking waits. Do not call Time.sleep in event callbacks.Keeping scripts cheap and predictable.
tick, packet, and render callbacks short.
Use Script.throttle for periodic work:
Script.thread only for work that needs blocking waits. Do not call Time.sleep in event callbacks.