Skip to content

Commit

Permalink
release v5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Aug 15, 2022
1 parent fad4f95 commit 059cf75
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ mappings_version=1.18.2
mixin_version=0.8.5

github_repo=auioc/arnicalib-mcmod
arnicalib_version=5.3.8

arnicalib_version=5.4.0
2 changes: 1 addition & 1 deletion gradle/artifacts.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def jarManifest = [
"Specification-Vendor": 'AUIOC',
"Specification-Version": '1',
"Implementation-Title": project.name,
"Implementation-Version": "${arnicalib_version}",
"Implementation-Version": "${project.modVersion}",
"Implementation-Vendor" :'AUIOC',
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"TweakClass": 'org.spongepowered.asm.launch.MixinTweaker',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class MixinItemStack {
private void onInventoryTick(Level p_41667_, Entity p_41668_, int p_41669_, boolean p_41670_, CallbackInfo ci) {
if (p_41670_ && p_41668_ instanceof Player player) {
if (CommonEventFactory.onSelectedItemItemInventoryTick(player, p_41667_, ((ItemStack) (Object) this), p_41669_)) {
ci.cancel();;
ci.cancel();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public static String getMainVersion(Attributes attrs) {

public static String getFullVersion(Attributes attrs, String modName) {
String version = attrs.getValue(modName + "-Version");
if (getRevisionNumber(version).isEmpty()) {
LOGGER.warn(MARKER, "The revision number of mod " + modName + " is null. If this is a manually built version you can ignore this message.");
}
if (getBuildNumber(version) == 0) LOGGER.warn(MARKER, "The build number of mod " + modName + " is 0");
if (version.contains("-dirty")) LOGGER.warn(MARKER, "The mod " + modName + " is a dirty build");
if (version.contains("-dev-")) LOGGER.warn(MARKER, "The mod " + modName + " is a development version");
return version;
}

Expand Down

0 comments on commit 059cf75

Please sign in to comment.