summaryrefslogtreecommitdiff
path: root/platform-velocity
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-08-05 02:13:34 +0900
committerSho Sakuma <me@m1sk9.dev>2026-08-05 02:13:34 +0900
commite8c90068535e9b6a98e3e87ed3d2293cccf1ab38 (patch)
tree62126af2f00853f9f31f5d43943b2eebc9257c43 /platform-velocity
parentf2cb1a244c10adbce7eb7e40b6dcf2c0c03ca83a (diff)
downloadLunaticChat-e8c90068535e9b6a98e3e87ed3d2293cccf1ab38.tar.gz
LunaticChat-e8c90068535e9b6a98e3e87ed3d2293cccf1ab38.tar.bz2
LunaticChat-e8c90068535e9b6a98e3e87ed3d2293cccf1ab38.zip
fix: fall back per setting rather than discarding all of config.yml
kaml rejects a document as a whole, so one unreadable value lost every other setting the operator had written: velocityIntegration off, serverName "Unknown" and channel chat disabled, behind one vague SEVERE line. The hand-written mapper this replaced defaulted per key, so reading the file directly had quietly made config.yml far more brittle than it was. The offending setting is now dropped by the path its parse error carries and the rest of the document is decoded, so the operator loses the one value they got wrong and is told which. Only a document that is not YAML at all still costs them everything. Booleans also accept the YAML 1.1 spellings again. Bukkit read config.yml as YAML 1.1, where `yes`, `no`, `on` and `off` are booleans; under kaml's YAML 1.2 they became strings, so `checkForUpdates: no` would have reset to its default - which is the opposite of what the file says. Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'platform-velocity')
0 files changed, 0 insertions, 0 deletions