Skip to content

Conversation

@triagonal
Copy link
Member

@triagonal triagonal commented Jan 9, 2021

Information

This PR fixes #3902, where Essentials will send its own command usage information during the execution of an alternative command if the alternative command returns false.

This PR also fixes a tiny bug where running /ess commands would output the name of an overriding plugin twice if the overriding plugin directly registered their command (not an alias).

Before and after:
image
image

Details

Proposed fix:
Always return true when executing alternative commands to prevent Essentials from sending its own usage, regardless of the outcome of the alternative command.

Environments tested:

  • Latest Paper Version (any OS, any Java 8+ version)

@triagonal triagonal added the bug: confirmed Confirmed bugs in EssentialsX. label Jan 9, 2021
@JRoy JRoy merged commit eae8bc0 into EssentialsX:2.x Jan 9, 2021
@JRoy
Copy link
Member

JRoy commented Jan 9, 2021

pogchamp!

@triagonal triagonal deleted the fix/overridden-command-usage branch January 11, 2021 06:12
@mdcfe mdcfe added this to the 2.19.0 milestone Feb 20, 2021
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: confirmed Confirmed bugs in EssentialsX.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EssentialsX sends its own command syntax message for plugin-overridden commands

3 participants