REWOLF CUBE 3.0 — V4.2.2 MI + CUSTOM WORLDS SLEEP TEST

Includes all V4.2.1 files and the standalone experimental server-side script:
kubejs/server_scripts/rewolf/80_custom_worlds_sleep_fix.js

Purpose: Custom Worlds Survival shares the Overworld clock, but sleeping there does not skip the night. When enough non-spectator players in the same custom dimension have slept long enough, set Overworld time to day. Respects the Overworld playersSleepingPercentage gamerule. Does not act on mere bed interaction.

IMPORTANT: This has NOT been validated in a running NeoForge 1.21.1 server. Java method access and player sleeping duration require an in-game test. If errors occur, the script disables itself and logs a single error. Inspect logs/kubejs/server.log or latest.log.

TEST ON A BACKUP/COPY FIRST. Test alone and with two players; try playersSleepingPercentage=100 and 50, and confirm that clicking a bed without sleeping does not skip the night. Make sure other dimensions do not cause unwanted skipping. For production, replace allowedDimensions: [] with the actual Survival dimension ID.

Disable instantly by renaming the script extension to .disabled, then restart the server. The client does not need this server-side script, but the full pack's custom startup items must still be identical client/server.

The MI Assembler deadlock correction from V4.2.1 remains included.
