Skip to content

Commit

Permalink
Merge pull request #63 from Helinos/creative-fix-real
Browse files Browse the repository at this point in the history
Fix ItemStack Being Passed Metadata as Stack Size
  • Loading branch information
MartinSVK12 authored Jan 26, 2025
2 parents 4ba50cc + 6df086c commit 3867fba
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 3867fba

Please sign in to comment.