Deprecated version of getDrops overridden
SquidDev opened this issue ยท 1 comments
The current implementation of BlockEnderStorage
overrides the List<ItemStack> getDrops(IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
method:
However, this overload is deprecated, one should instead override public void getDrops(NonNullList<ItemStack> drops, IBlockAccess world, BlockPos pos, IBlockState state, int fortune)
. This makes it consistent with vanilla blocks such as BlockLeaves
.
I realise this is a rather petty issue (sorry), but some mods (well, ComputerCraft) calls the latter method, meaning all metadata/NBT was lost when broken with a turtle.