ItemLeafBlower manually spawns block drops into the world
Aaron1011 opened this issue ยท 0 comments
ItemLeafBlower manually spawns in EntityItems from the result of Block#getDrops
. While this odes work, it prevent mods like SpongeForge from being able to associate the dropped items with te block they were dropped from.
It would be a great help if ItemLeafBlower were to instead call Block#dropBlockAsItem
. This method is identical to the current code used, but will allow Sponge to properly rollback blocks breaks if necessary.