Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Mostly broken code * Just messing with some ideas, have static EconomyManager and an interface. The latter is used for class specific items such as econ name, and the other is used for function that are class agnostic. * This is a scrapped idea * Refactored a bunch of code * Made it so the account field is now implemented in most areas in towny. * Code sucessfully compiles * Added two new interfaces - Permissible - TownBlockOwner (A port from the original class) *Since both of these interfaces are implemented, Resident and Town now both directly inherit from TownyObject. * Fixed initialization bugs * Nation now conforms to the Economy interface. * Added javadoc * Fixed compiler errors from nation transition. * Changed Economy to EconomyHandler * Restore legacy methods via deprecation * Changed EconomyAccount.getEconomyName() to EconomyAccount.getName() this limits verbosity and repetition in the method calls. * Added deprecation documentation. * Re-add support for economy logging. * Cleaned up logging changes * EconomyAccount now conforms to EconomyHandler * Revert "Cleaned up logging changes" * This reverts commit 3bf863a. * Auto stash before revert of "Cleaned up logging changes" * Fix econ logging (again) * Fix econ logging (again) * Fix NPE from null log values. * remove debug code * Remove unused imports and unused method. * Create an alias for `TownyInviteSender` and `TownyInviteReceiver` * Co-authored-by: LlmDl <LlmDlio@gmail.com>
- Loading branch information
Siris
committed
Jan 29, 2020
1 parent
783952b
commit 734a3f6
Showing
32 changed files
with
708 additions
and
541 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
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
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
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
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
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
Oops, something went wrong.