Commit Graph
7 Commits
Author SHA1 Message Date
GegyandRiley Park 077968089e Fix: pass through last seen update in a few missing places
This is hardly useful in the case of signed player chat messages, as these fundamentally cannot be spoofed or modified - however, for any unsigned input (particularly commands without any signed arguments), 'last seen' updates are still required and should be passed through in a consistent state.
2024-07-04 21:34:47 -07:00
GegyandRiley Park b5ee9dd20a Capture a consistent and reusable 'last seen' state for use in command packets 2024-07-04 21:34:47 -07:00
GegyandRiley Park ec9745769f Explicitly reject consuming signed command when denied by event
This would fail down the line anyway due to inconsistent chat state (if holding a 'last seen' update)
2024-07-04 21:34:47 -07:00
GegyandRiley Park 3b7ffa837e Don't require command to be signed to pass it through as-is 2024-07-04 21:34:47 -07:00
GegyandRiley Park 92c48507eb Extract common command handler paths 2024-07-04 21:34:47 -07:00
GegyandRiley Park be73131d5d Remove unneeded check
SessionCommandHandler is only constructed for >= 1.19.3.
2024-07-04 21:34:47 -07:00
GegyandRiley Park 6b03b28a61 Refactor ChatQueue to track and expose general chat state 2024-07-04 21:34:47 -07:00