Skip to content

Commit

Permalink
3.0.2 Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyyTV committed Feb 17, 2021
1 parent f596e9a commit 0265636
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.jvmargs=-Xmx4G
mc_version=1.16.5
forge_version=36.0.42
mod_version=3.0.1
mod_version=3.0.2
mappings_channel=snapshot
mappings_version=20201028-1.16.3
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ public void onItemCrafted(PlayerEvent.ItemCraftedEvent event) {
}
if (input.getItem() instanceof ItemExchangerBase) {
CompoundNBT tags = NBTHelper.getTag(input).copy();
ItemStack crafted = output.copy();
crafted.setTag(tags);
if (crafted.isDamaged()) {
crafted.setDamage(0);
output.setTag(tags);
if (output.isDamaged()) {
output.setDamage(0);
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ issueTrackerURL="https://github.com/JackyyTV/Exchangers/issues"

[[mods]]
modId="exchangers"
version="1.16.5-3.0.1"
version="1.16.5-3.0.2"
displayName="Exchangers"
displayURL="https://github.com/JackyyTV/Exchangers"
logoFile="logo.png"
Expand Down

0 comments on commit 0265636

Please sign in to comment.