diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-08-05 03:32:33 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-08-05 03:32:33 +0900 |
| commit | e25bfe0e39771ceac287f93a235aa5954a154236 (patch) | |
| tree | 229bb10c921745cb9d011bdb7a625faf19fb71c1 /docs/src/guide/patch-notes | |
| parent | 7ed4bbbcf375c4f136a3b90bb6105c278901f654 (diff) | |
| download | LunaticChat-e25bfe0e39771ceac287f93a235aa5954a154236.tar.gz LunaticChat-e25bfe0e39771ceac287f93a235aa5954a154236.tar.bz2 LunaticChat-e25bfe0e39771ceac287f93a235aa5954a154236.zip | |
refactor: drop what no longer carries its weight
- getDirectMessageSpyPlayers had no callers left; handing out a copy of the spy
map is the shape notifySpies was introduced to replace.
- pluginScope was widened to public for "commands that must not block the tick
thread", but commands take the delivery queue and only LunaticChat reads it.
- getPlayerChannels returned a Result that cannot fail, so three callers carried
unreachable error paths and channel.status.error could never be shown.
- The cross-server managers were gated on velocityIntegration.enabled as well as
on a manager that is non-null only when it is enabled, letting the two
conditions disagree.
- LenientBoolean's non-YamlInput fallback was observationally identical to the
cast failing, since both land in ConfigManager's catch-all.
- sendCrossServerMessage caught its own failures underneath the delivery queue,
which already reports them without stopping the sender's later messages. The
second boundary is what forced a CancellationException clause here.
- handleOutgoingCrossServerMessage still recorded the reply target after the
commands took that over, so remote targets were recorded twice - re-inserting
entries clearPlayer had swept, which is the bug the local path was fixed for.
- The reason delivery is queued was written out in both command constructors and
twice more in KDoc; it now lives where the queueing happens.
Spy notification also defers its notice lookup and member set until a spy is
actually online, which is not the normal case.
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'docs/src/guide/patch-notes')
0 files changed, 0 insertions, 0 deletions
