File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
src/main/java/dev/despical/commandframework/options Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 2828 * @see FrameworkOption#CUSTOM_COOLDOWN_CHECKER
2929 * @see FrameworkOption#CONFIRMATIONS
3030 * @see FrameworkOption#DEBUG
31- * @see FrameworkOption#REPORT_SCAN_WARNINGS
3231 */
3332public enum FrameworkOption {
3433
@@ -45,14 +44,5 @@ public enum FrameworkOption {
4544 /**
4645 * This option enables the debug mode for this framework.
4746 */
48- DEBUG ,
49-
50- /**
51- * Specifies whether the framework should log warnings for potential issues found during
52- * automatic package scanning.
53- * <p>
54- * For example, if a class contains command annotations but lacks a public no-args
55- * constructor, it cannot be instantiated and registered.
56- */
57- REPORT_SCAN_WARNINGS ,
47+ DEBUG
5848}
Original file line number Diff line number Diff line change 3737 */
3838public final class OptionManager {
3939
40- private final Set <FrameworkOption > frameworkOptions = EnumSet .of (
41- FrameworkOption .REPORT_SCAN_WARNINGS
42- );
40+ private final Set <FrameworkOption > frameworkOptions = EnumSet .noneOf (FrameworkOption .class );
4341
4442 public void enableOption (FrameworkOption frameworkOption ) {
4543 this .frameworkOptions .add (frameworkOption );
You can’t perform that action at this time.
0 commit comments