Add UI for warnings that occurred during loading (#5530)

This commit is contained in:
ichttt authored and LexManos committed 2019-03-11 15:32:37 -07:00
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();
}
}