diff --git a/build.gradle b/build.gradle index 231eb48..42ae863 100644 --- a/build.gradle +++ b/build.gradle @@ -110,12 +110,13 @@ curseforge { changelogType = 'html' changelog = System.getenv('CHANGELOG') if (changelog == null || 'none'.equals(changelog)) { - changelog = getChangelog() + changelog = getChangelog() ?: '' changelogType = 'text' } releaseType = project.release_type addGameVersion '1.9.4' addGameVersion '1.11.2' + addGameVersion '1.12' mainArtifact(jar) { displayName = "Blur ${mod_version}" } diff --git a/src/main/java/com/tterrag/blur/config/BlurGuiFactory.java b/src/main/java/com/tterrag/blur/config/BlurGuiFactory.java index 4298312..f8bdf1f 100644 --- a/src/main/java/com/tterrag/blur/config/BlurGuiFactory.java +++ b/src/main/java/com/tterrag/blur/config/BlurGuiFactory.java @@ -27,4 +27,15 @@ public class BlurGuiFactory implements IModGuiFactory { return null; } +// 1.12 +// @Override + public boolean hasConfigGui() { + return true; + } + +// 1.12 +// @Override + public GuiScreen createConfigGui(GuiScreen parentScreen) { + return new BlurConfigGui(parentScreen); + } }