diff options
Diffstat (limited to 'src/main/java/de/hype/bbsentials/client/BBsentialsConfigScreemFactory.java')
-rw-r--r-- | src/main/java/de/hype/bbsentials/client/BBsentialsConfigScreemFactory.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main/java/de/hype/bbsentials/client/BBsentialsConfigScreemFactory.java b/src/main/java/de/hype/bbsentials/client/BBsentialsConfigScreemFactory.java index 2d0039c..555c42d 100644 --- a/src/main/java/de/hype/bbsentials/client/BBsentialsConfigScreemFactory.java +++ b/src/main/java/de/hype/bbsentials/client/BBsentialsConfigScreemFactory.java @@ -228,7 +228,7 @@ public class BBsentialsConfigScreemFactory { .build()); } //Mining Events if (config.hasBBRoles("dev")){ - ConfigCategory dev = builder.getOrCreateCategory(Text.of("Developing")); + ConfigCategory dev = builder.getOrCreateCategory(Text.of("§3Developing")); dev.addEntry(entryBuilder.startBooleanToggle(Text.of("Dev Mode"), config.devMode) .setDefaultValue(false) .setTooltip(Text.of("Dev Mode")) @@ -240,6 +240,14 @@ public class BBsentialsConfigScreemFactory { .setSaveConsumer(newValue -> config.detailedDevMode = newValue) .build()); } + if (config.hasBBRoles("splasher")){ + ConfigCategory dev = builder.getOrCreateCategory(Text.of("§dSplashes")); + dev.addEntry(entryBuilder.startBooleanToggle(Text.of("Dev Mode"), config.devMode) + .setDefaultValue(true) + .setTooltip(Text.of("Auto Update Statuses")) + .setSaveConsumer(newValue -> config.autoSplashStatusUpdates = newValue) + .build()); + } return builder.build(); } |