Geolosys

Geolosys

5M Downloads

Custom Block Breaking Logic Breaks VeinMining Logic?

oitsjustjose opened this issue ยท 1 comments

commented

Attempting to veinmine blocks like Platinum while the Osmium feature is enabled breaks the functionality of Veinimining tools somehow.

It's likely the following block:

if (replace) {
world.setBlockState(pos, Blocks.AIR.getDefaultState(), 2 | 16);
}

setBlockState should be replaced with destroyBlock with the drops option set to false. Or just don't cancel the event but clear the drops somehow?

commented

Fixed with Global Loot Modifiers (or it damn well better be??)