summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--src/main/resources/assets/nochatreports/lang/en_us.json2
-rw-r--r--src/main/resources/fabric.mod.json2
4 files changed, 6 insertions, 7 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();
}
diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json
index b479e84..cbd56d1 100644
--- a/src/main/resources/assets/nochatreports/lang/en_us.json
+++ b/src/main/resources/assets/nochatreports/lang/en_us.json
@@ -30,7 +30,7 @@
"option.NoChatReports.hideYellowChatIndicators":"Hide yellow chat indicators",
"option.NoChatReports.hideYellowChatIndicators.tooltip":"Prevents the client from displaying \"Modified\"\nindicators, in the form of yellow bar to the left\nand §e§l(§r§e?§e§l)§r icon to the right of chat message.",
"option.NoChatReports.hideGrayChatIndicators":"Hide gray chat indicators",
- "option.NoChatReports.hideGrayChatIndicators.tooltip":"Prevents the client from displaying special indicators\nfor system messages, in the form of gray bar to the left.",
+ "option.NoChatReports.hideGrayChatIndicators.tooltip":"Prevents the client from displaying special\nindicators for system messages, in the form\nof gray bar to the left.",
"option.NoChatReports.hideWarningToast":"Hide warning toast",
"option.NoChatReports.hideWarningToast.tooltip":"Removes a warning toast that is displayed when entering\nservers with disabled §lenforce-secure-profile§r.",
"option.NoChatReports.alwaysHideReportButton":"Always hide report button",
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
index 31495fb..ddc4eac 100644
--- a/src/main/resources/fabric.mod.json
+++ b/src/main/resources/fabric.mod.json
@@ -26,7 +26,7 @@
"com.aizistral.nochatreports.NoChatReportsClient"
],
"modmenu": [
- "com.aizistral.nochatreports.ModMenuIntegration"
+ "com.aizistral.nochatreports.core.ModMenuIntegration"
]
},
"mixins": [