Skip to content

Commit

Permalink
Pass metadata as metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Helinos committed Jan 26, 2025
1 parent 4e112eb commit 6df086c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static void setParent(IItemConvertible itemToAdd, IItemConvertible itemPa
*/
@SuppressWarnings("unused")
public static void setParent(IItemConvertible itemToAdd, int metaToAdd, IItemConvertible itemParent, int metaParent){
setParent(new ItemStack(itemToAdd, 1, metaToAdd), new ItemStack(itemParent, metaParent));
setParent(new ItemStack(itemToAdd, 1, metaToAdd), new ItemStack(itemParent, 1, metaParent));
}
/**
* @param itemToAdd The itemstack to be added to the creative inventory list
Expand Down

0 comments on commit 6df086c

Please sign in to comment.