# Midnight Thoughts 1.5.2
## Added
- `/midnightthoughts comfort [target]` — the comfort report can now be run on another player. It also works from the server console and command blocks, which the self-only version could not do.
- `ui.hideSleepingPlayersHud` — hides the "Sleeping X/Y" plate, matching the existing `hideWellRestedHud` and `hideThemeSwitchButton` options. Defaults to `false`, so nothing changes unless you turn it on.
## Fixed
- The daily summary was shown to a player who had slept, got up during the night on their own, and was afterwards refused sleep by a nightmare. A refused attempt no longer counts as going back to bed. *(Forge 1.20.1 only — the NeoForge builds were never affected.)*
## Notes
- The network protocol was bumped to **3**. Client and server both need 1.5.2; a 1.5.1 client will be rejected by a 1.5.2 server.
- **NeoForge 1.21.1** goes straight from 1.5 to 1.5.2, so this build also carries everything from 1.5.1: ten additional languages (thirteen in total, 4446 dream entries), config validation with migration and automatic backup of a corrupted file, atomic writes for the config and the stats file, an in-memory stats cache, the redesigned nightmare overlay, and a pile of HUD and summary fixes.
- **KubeJS users on NeoForge 1.21.1**: `MidnightThoughts.getComfort(player)` now returns the comfort *level* (0–5) instead of the raw point total. This shipped in 1.5.1 on Forge and reaches this loader now. Scripts comparing that value against a threshold need to be checked.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }