This PR fixes major dupe bugs related to incorrect blocks being dropped when using config options overwrite-blocks and drop-destroyed-blocks.
Still needs testing on 1.11/12, I just want to start discussion.
I'm worried that shulker boxes will suffer the same issues that other containers did - primary inventory required a somewhat hacky workaround to restore properly.
Per discussion in #61, I also need to revisit CreeperBlock#checkForDrop:
Remove this function, and turn the checkForDrop function in CreeperBlock static, it's the same.
It's not quite as simple as making it static - CreeperBlock#checkForDrop also calls CreeperBlock#drop conditionally.
This PR fixes major dupe bugs related to incorrect blocks being dropped when using config options
overwrite-blocks
anddrop-destroyed-blocks
.Still needs testing on 1.11/12, I just want to start discussion.
I'm worried that shulker boxes will suffer the same issues that other containers did - primary inventory required a somewhat hacky workaround to restore properly.
Per discussion in #61, I also need to revisit CreeperBlock#checkForDrop: