mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 13:45:14 +01:00
ace6294e23
This approach simulates an enum, but one that can be extended by others to add custom flags. I added a handy values() method that uses reflection to provide a list of all the flags in the class. See TestBSkyBlock.java test classes for the tests of the default flag registration and the custom flag registration. |
||
---|---|---|
.. | ||
api | ||
commands | ||
database | ||
generators | ||
island/builders | ||
listeners | ||
lists | ||
managers | ||
util | ||
BSkyBlock.java | ||
Constants.java | ||
Metrics.java | ||
Settings.java |