-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split and Refactor how Holographs are populated.
The getHologramConfig method was a bit long in the tooth, and most of the complexity was in the switch expression. This commit simply extracts the methods. Creates four methods from existing code: - `FlagWarConfig#populateHolo(ConfigurationSection, List, int)` - `FlagWarConfig#addHoloItem(int, String, List)` - `FlagWarConfig#addHoloText(int, String, List)` - `FlagWarConfig#addHoloTimer(int, String, List)`
- Loading branch information
1 parent
d4f826d
commit b08e1fa
Showing
1 changed file
with
58 additions
and
42 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