ModificationStation / StationAPI

A general use API for Fabric Loader mods on legacy Minecraft versions.
86 stars 20 forks source link

ItemStack with block argument can be incorrect #60

Closed paulevsGitch closed 1 year ago

paulevsGitch commented 1 year ago

ItemStack (ItemInstance) will have incorrect item if it is constructed from block with ID > 255 (new ItemStack(block)) - it will transform into vanilla item instead of block item. If ItemStack will be created from block item (new ItemStack(block.asItem()) it will be correct

mineLdiver commented 1 year ago

Fixed with https://github.com/ModificationStation/StationAPI/commit/b08231c54c90b3d3703b1b52e7283a293ac34c4a