Skip to content

Commit

Permalink
[1.10.11-beta1]修复偶发配方展示GUI数量不对的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YufiriaMazenta committed Sep 19, 2024
1 parent 3d18309 commit 2aa4607
Show file tree
Hide file tree
Showing 2 changed files with 3 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.10.10"
version = "1.10.11-beta1"

plugins {
`java-library`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ public static RecipeChoice getRecipeChoice(String itemStr) {
}
return new RecipeChoice.MaterialChoice(materialTag);
default:
ItemStack item = ItemManager.INSTANCE.matchItem(itemStr);
ItemStack item = ItemManager.INSTANCE.matchItem(itemStr).clone();
item.setAmount(1);
return new RecipeChoice.ExactChoice(item);
}
}
Expand Down

0 comments on commit 2aa4607

Please sign in to comment.