From a8ae900fbf06face41fabc428247c852f1fa0e1d Mon Sep 17 00:00:00 2001 From: hackthetime Date: Mon, 9 Oct 2023 17:27:52 +0200 Subject: experiments with conditions in config --- src/main/java/de/hype/bbsentials/client/Config.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/de/hype/bbsentials/client/Config.java') diff --git a/src/main/java/de/hype/bbsentials/client/Config.java b/src/main/java/de/hype/bbsentials/client/Config.java index 9c62d2e..5598872 100644 --- a/src/main/java/de/hype/bbsentials/client/Config.java +++ b/src/main/java/de/hype/bbsentials/client/Config.java @@ -43,7 +43,7 @@ public class Config implements Serializable { public boolean acceptReparty; public boolean autoSplashStatusUpdates; public String nickname; - public String NotifForPartyMessagesType; + public String notifForMessagesType; // Set default attribute values private void setDefaults() { @@ -51,12 +51,12 @@ public class Config implements Serializable { acceptReparty = true; if (username.equals("Hype_the_Time")) { nickname = "Hype"; - NotifForPartyMessagesType = "nick"; + notifForMessagesType = "nick"; doDesktopNotifications=true; } //Gimmic for Developer due too things which dont make it into releases (bugs) else { nickname = ""; - NotifForPartyMessagesType = "none"; + notifForMessagesType = "none"; } } @@ -128,7 +128,7 @@ public class Config implements Serializable { } public String getNotifForParty() { - return NotifForPartyMessagesType; + return notifForMessagesType; } public boolean isDevModeEnabled() { -- cgit