summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/aizistral/nochatreports
diff options
context:
space:
mode:
authorMODKILLER10012022-08-16 08:42:48 -0400
committerMODKILLER10012022-08-16 08:42:48 -0400
commitbebf5bf367e129e6533d539629c824009aeb7b65 (patch)
treef095d7962fefb1138c00abc04fe5d8c10120e305 /src/main/java/com/aizistral/nochatreports
parent4c8deaafb7e3c65d7ad9d0ee6c0820dca012cf4e (diff)
well that was easier than i thought, thanks for
the feedback and help along the way
Diffstat (limited to 'src/main/java/com/aizistral/nochatreports')
-rw-r--r--src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java (renamed from src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java)3
-rw-r--r--src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java6
2 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java b/src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java
index c0fada4..50d2b47 100644
--- a/src/main/java/com/aizistral/nochatreports/ModMenuIntegration.java
+++ b/src/main/java/com/aizistral/nochatreports/core/ModMenuIntegration.java
@@ -1,6 +1,5 @@
-package com.aizistral.nochatreports;
+package com.aizistral.nochatreports.core;
-import com.aizistral.nochatreports.core.NoReportsConfig;
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
import com.terraformersmc.modmenu.api.ModMenuApi;
diff --git a/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java b/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java
index cf3ee70..97c8ade 100644
--- a/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java
+++ b/src/main/java/com/aizistral/nochatreports/core/NoReportsConfig.java
@@ -39,14 +39,14 @@ public class NoReportsConfig {
private static final Path CONFIG_FILE = FabricLoader.getInstance().getConfigDir().resolve("NoChatReports.json");
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();
private static NoReportsConfig INSTANCE;
- public boolean demandOnClient = true, demandOnServer = false, enableDebugLog = false,
+ protected boolean demandOnClient = true, demandOnServer = false, enableDebugLog = false,
convertToGameMessage = false, showServerSafety = true, hideRedChatIndicators = true,
hideYellowChatIndicators = true, hideGrayChatIndicators = true, hideWarningToast = true,
alwaysHideReportButton = false, disableTelemetry = true, showReloadButton = true,
whitelistAllServers = false;
- public List<String> whitelistedServers;
+ protected List<String> whitelistedServers;
- public static NoReportsConfig getInstance() {
+ protected static NoReportsConfig getInstance() {
if (INSTANCE == null) {
loadConfig();
}