Add 1.12 compatibility

This commit is contained in:
tterrag1098
2017-06-11 12:18:36 -04:00
parent 89f4a8a7a8
commit 800bb287ae
2 changed files with 13 additions and 1 deletions

View File

@@ -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}"
}

View File

@@ -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);
}
}