Blood Magic

Blood Magic

90M Downloads

Bound Pick drops all blocks as themselves, even for blocks that absolutely must never be obtained in inventory

ReikaKalseki opened this issue ยท 3 comments

commented

Not quite sure how to word this well, but basically the bound pickaxe seems to be dropping "as themselves" blocks that should never be in a player's inventory, including technical blocks. Depending on the block type, this can lead to bugs, render issues, exploits, and crashes - I have personally experienced all four with some blocks from my mods - and thus this is something of a problem. Is there a way to prevent blocks from being droppable as themselves, and choose the real drops instead?

commented

Do these picks have silktouch? I use the method block.getDrops, the one that gives an array list of itemstacks. If it has silktouch, there is a block method that I check to see if the block may be silk touched.

...Which I'm not using. Will fix in the next version.

commented

Issue fixed. Thanks for taking the time to file this issue, @ReikaKalseki !
ac5a20d

commented

No problem. :)