Skip to content

Commit

Permalink
Merge pull request #6 from Craluminum2413/patch-23
Browse files Browse the repository at this point in the history
Make BlockSmeltedContainer.GetContents public
  • Loading branch information
Craluminum2413 authored Mar 7, 2024
2 parents d6e4330 + bee1192 commit cc2b333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Block/BlockSmeltedContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ internal void SetContents(ItemStack stack, ItemStack output, int units)
stack.Attributes.SetInt("units", units);
}

KeyValuePair<ItemStack, int> GetContents(IWorldAccessor world, ItemStack stack)
public KeyValuePair<ItemStack, int> GetContents(IWorldAccessor world, ItemStack stack)
{
ItemStack outstack = stack.Attributes.GetItemstack("output");
if (outstack != null)
Expand Down

0 comments on commit cc2b333

Please sign in to comment.