Skip to content

Commit

Permalink
Works on 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FarlanderCraft committed Feb 2, 2022
1 parent 7c08a74 commit ea46ae5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ archivesBaseName = "MinicraftGameProvider"
dependencies {
implementation 'com.github.skeeto:Minicraft:21e7007696'
compileOnly group: 'org.jetbrains', name: 'intellij-fernflower', version: '1.2.1.16'
compileOnly group: 'net.fabricmc', name: 'fabric-loader', version: '0.12.12'
compileOnly group: 'net.fabricmc', name: 'fabric-loader', version: '0.13.0'

//mixin requirements:
compileOnly 'org.spongepowered:mixin:' + mixinVersion
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
providerVersion = 1.1.0
providerVersion = 1.1.1
mixinVersion = 0.8.5
asmVersion = 9.2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public static StringVersion getVersionFromHash(String hash) {
case "e96d6ca22a402d69b8e35e4a80cd2582" -> "2.1.0-dev1";
default -> "0.0.0";
};
if (!gameVersion.equals("0.0.0")) {
MinicraftGameProvider.setIsPlus();
}
return new StringVersion(gameVersion);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public Collection<BuiltinMod> getBuiltinMods() {
.setContact(new ContactInformationImpl(minicraftPlusContactInformation))
.setDescription("Minicraft+ is a modded version of Minicraft that adds many more features to the original version. The original Minicraft game was made by Markus 'Notch' Persson in the Ludum Dare 22 contest.");


return isPlus ? Collections.singletonList(new BuiltinMod(gameJar, minicraftPlusMetaData.build())) : Collections.singletonList(new BuiltinMod(gameJar, minicraftMetaData.build()));
return isPlus ? Collections.singletonList(new BuiltinMod(Collections.singletonList(gameJar), minicraftPlusMetaData.build())) : Collections.singletonList(new BuiltinMod(Collections.singletonList(gameJar), minicraftMetaData.build()));
}

@Override
Expand Down

0 comments on commit ea46ae5

Please sign in to comment.