Skip to content

Conversation

@vLuckyyy
Copy link
Member

@vLuckyyy vLuckyyy commented Dec 24, 2025

No description provided.

@vLuckyyy vLuckyyy requested a review from a team as a code owner December 24, 2025 00:01
@vLuckyyy vLuckyyy changed the title Alternative command in custom command GH-1257 Alternative command in custom command Dec 24, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a feature to execute a list of commands when a custom command is used. The implementation correctly adds a commands list to CustomCommand and handles their execution in CustomCommandBukkitWrapper. My review includes a critical fix for a potential NullPointerException that can occur if the commands list is omitted in the configuration, and a suggestion to refactor duplicated code in the CustomCommand constructors for better maintainability.

@vLuckyyy vLuckyyy changed the title GH-1257 Alternative command in custom command GH-1257 Add alternative command in custom command feature. Dec 24, 2025
@vLuckyyy vLuckyyy merged commit 6168b58 into master Dec 24, 2025
2 checks passed
@vLuckyyy vLuckyyy deleted the alternative-command-in-custom-command branch December 24, 2025 01:54
@Jakubk15 Jakubk15 changed the title GH-1257 Add alternative command in custom command feature. GH-1257 Allow executing other commands in custom command feature. Dec 24, 2025
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.

2 participants