Skip to content

Register commands that declare no labels - #882

Merged
Swofty-Developments merged 1 commit into
masterfrom
fix/silent-command-registration
Aug 15, 2026
Merged

Register commands that declare no labels#882
Swofty-Developments merged 1 commit into
masterfrom
fix/silent-command-registration

Conversation

@Swofty-Developments

Copy link
Copy Markdown
Owner

No description provided.

The command base class read the first label before checking that any label existed, so a command whose annotation omitted labels threw out of its constructor. The package scan catches instantiation failures and returns null without logging, so eight commands including coins were dropped at boot with no diagnostic and reported as unknown in game. The emptiness check now runs first, the scan logs what it failed to instantiate, and every command that was missing a label declares one.
@Swofty-Developments
Swofty-Developments merged commit 2156425 into master Aug 15, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant