Skip to content

Commit

Permalink
[1.6.0-beta4]修复铁砧配方预览结果时未复制原材料nbt的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YufiriaMazenta committed Dec 7, 2023
1 parent 74a33b3 commit 102035a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import java.text.SimpleDateFormat
version = "1.6.0-beta3"
version = "1.6.0-beta4"

plugins {
`java-library`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void onPrepareAnvil(PrepareAnvilEvent event) {
result.setItemMeta(base.getItemMeta());
}
event.getInventory().setRepairCost(anvilRecipe.costLevel());
event.setResult(anvilRecipe.getResult());
event.setResult(result);
}

@EventHandler
Expand Down

0 comments on commit 102035a

Please sign in to comment.