mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Add UI for warnings that occurred during loading (#5530)
This commit is contained in:
1 parent
7113f4400c
commit
00845d5252
8 files changed
+192
-31
No files matched your search
@@ -124,6 +124,8 @@ public class ForgeConfig
|
||||
|
||||
public final BooleanValue selectiveResourceReloadEnabled;
|
||||
|
||||
public final BooleanValue showLoadWarnings;
|
||||
|
||||
Client(ForgeConfigSpec.Builder builder) {
|
||||
builder.comment("Client only settings, mostly things related to rendering")
|
||||
.push("client");
|
||||
@@ -160,6 +162,11 @@ public class ForgeConfig
|
||||
.translation("forge.configgui.selectiveResourceReloadEnabled")
|
||||
.define("selectiveResourceReloadEnabled", true);
|
||||
|
||||
showLoadWarnings = builder
|
||||
.comment("When enabled, forge will show any warnings that occurred during loading")
|
||||
.translation("forge.configgui.showloadwarnings")
|
||||
.define("showLoadWarnings", true);
|
||||
|
||||
builder.pop();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user