Skip to content

Commit

Permalink
fix: Fix warp plate inventory only initializing once because it was e…
Browse files Browse the repository at this point in the history
…ating the item inside the defined recipe
  • Loading branch information
BlayTheNinth committed Dec 14, 2023
1 parent 8872180 commit 903979b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private void initializeInventory(ServerLevelAccessor levelAccessor) {
final var ingredient = initializingRecipe.getIngredients().get(i);
final var ingredientItems = ingredient.getItems();
final var ingredientItem = ingredientItems.length > 0 ? ingredientItems[0] : ItemStack.EMPTY;
setItem(i, ingredientItem);
setItem(i, ingredientItem.copy());
}
}

Expand Down

0 comments on commit 903979b

Please sign in to comment.