diff options
Diffstat (limited to 'common/src/main/java')
-rw-r--r-- | common/src/main/java/de/hype/bbsentials/common/client/Config.java | 7 | ||||
-rw-r--r-- | common/src/main/java/de/hype/bbsentials/common/client/SplashStatusUpdateListener.java | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/common/src/main/java/de/hype/bbsentials/common/client/Config.java b/common/src/main/java/de/hype/bbsentials/common/client/Config.java index 5f7fb29..5b4f4a3 100644 --- a/common/src/main/java/de/hype/bbsentials/common/client/Config.java +++ b/common/src/main/java/de/hype/bbsentials/common/client/Config.java @@ -15,14 +15,14 @@ public class Config implements Serializable { public static int apiVersion = 1; public static List<String> partyMembers = new ArrayList<>(); public transient final Sender sender = new Sender(); + public boolean devMode = false; + public boolean detailedDevMode = false; // Gson object for serialization private final transient Gson GSON = new GsonBuilder().setPrettyPrinting().create(); // File object for storing the config private final transient File CONFIG_FILE = new File(EnvironmentCore.mcUtils.getConfigPath(), "BBsential_settings.json"); //You can change again public boolean allowServerPartyInvite = true; - public boolean devMode = false; - public boolean detailedDevMode = false; public boolean devSecurity = true; public transient String overwriteActionBar = ""; public transient String alreadyReported = ""; @@ -46,6 +46,8 @@ public class Config implements Serializable { public boolean allowBBinviteMe = true; public boolean doDesktopNotifications = false; public boolean showSplashStatusUpdates = true; + public boolean useSplashLeecherOverlayHud = true; + public boolean showMusicPants = true; public boolean doGammaOverride = true; public boolean acceptReparty; public boolean autoSplashStatusUpdates; @@ -58,6 +60,7 @@ public class Config implements Serializable { // set automatically private transient boolean isPartyLeader; private transient String username; + // Constructor public Config() { setDefaults(); diff --git a/common/src/main/java/de/hype/bbsentials/common/client/SplashStatusUpdateListener.java b/common/src/main/java/de/hype/bbsentials/common/client/SplashStatusUpdateListener.java index f214629..7f96681 100644 --- a/common/src/main/java/de/hype/bbsentials/common/client/SplashStatusUpdateListener.java +++ b/common/src/main/java/de/hype/bbsentials/common/client/SplashStatusUpdateListener.java @@ -24,6 +24,7 @@ public class SplashStatusUpdateListener implements Runnable { } public boolean showSplashOverlay() { + if (!BBsentials.config.useSplashLeecherOverlayHud) return false; return splashLobby.get() || showSplashOverlayOverrideDisplay; } |