mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-15 19:25:09 +01:00
Add 1.12 compatibility
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user