-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor EconomyCommand to use encapsulated 'set' method
Extracted and encapsulated the 'set' command functionality into a separate method to improve readability and maintainability. Adjusted related 'reset' logic to utilize the new 'set' method, ensuring consistency in account balance operations. Added 'world' argument handling in 'set' command for better context-specific operations.
- Loading branch information
Showing
1 changed file
with
46 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters