diff options
| author | hackthetime <l4bg0jb7@duck.com> | 2023-10-09 17:27:52 +0200 |
|---|---|---|
| committer | hackthetime <l4bg0jb7@duck.com> | 2023-10-09 17:27:52 +0200 |
| commit | a8ae900fbf06face41fabc428247c852f1fa0e1d (patch) | |
| tree | e646082e9b3b8ddb3d2e57d9eba66bede5b77c07 /src/main/java/de/hype/bbsentials/client/Config.java | |
| parent | d4ada83ec3e7416bbac10c7d79a9ac5a0f939de6 (diff) | |
| download | BBsentials-a8ae900fbf06face41fabc428247c852f1fa0e1d.tar.gz BBsentials-a8ae900fbf06face41fabc428247c852f1fa0e1d.tar.bz2 BBsentials-a8ae900fbf06face41fabc428247c852f1fa0e1d.zip | |
experiments with conditions in config
Diffstat (limited to 'src/main/java/de/hype/bbsentials/client/Config.java')
| -rw-r--r-- | src/main/java/de/hype/bbsentials/client/Config.java | 8 |
1 files changed, 4 insertions, 4 deletions
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() { |
