Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
Merge branch '1.16-2.0' into 1.17-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Siphalor committed Sep 20, 2022
2 parents 94bde3e + 5339b73 commit 85634ab
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .giup
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@
"ignore-errors": true
},
{
"title": "Publish & Upload",
"run": "gradlew build publish uploadToModSites",
"posix": "./gradlew build publish uploadToModSites"
"title": "Build & Publish",
"run": "gradlew build publish",
"posix": "./gradlew build publish"
},
{
"title": "Git push",
"run": "git push"
},
{
"title": "Upload",
"run": "gradlew uploadToModSites",
"posix": "./gradlew uploadToModSites"
}
]
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.11.6

# Mod Properties
mod_version = 2.2.0-beta.1
mod_version = 2.2.0
mod_release = beta
mod_mc_version_specifier = 1.17
mod_mc_versions = 1.17;1.17.1
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/siphalor/nbtcrafting/api/RecipeUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static Map<String, Object> buildReferenceMapFromResolvedIngredients(int[]
for (int i = 0; i < resolvedIngredientStacks.length; i++) {
int resolvedIngredientStack = resolvedIngredientStacks[i];
if (resolvedIngredientStack != -1) {
reference.put("i" + i, inventory.getStack(resolvedIngredientStack));
reference.put("i" + i, NbtUtil.getTagOrEmpty(inventory.getStack(resolvedIngredientStack)));
}
}
return reference;
Expand Down

0 comments on commit 85634ab

Please sign in to comment.