Heat And Climate

Heat And Climate

409k Downloads

[1.12] ClassNotFoundException on BlockOres2's getDrops

bafomdad opened this issue ยท 2 comments

commented

Stacktrace:

    at defeatedcrow.hac.main.block.ores.BlockOres2.getDrops(BlockOres2.java:161)

The line it crashes on: https://github.com/defeatedcrow/HeatAndClimateMod/blob/1.12.1_master/java/defeatedcrow/hac/main/block/ores/BlockOres2.java#L161

This crashes because it is called from the server, and this getBiome method in IBlockAccess is a clientside-only method. A better method would be to use world.getBiomeForCoordsBody, which is not clientside-only

commented

works now, thanks for the quick fix + release!

commented

Thanks for the report!
It fixed in 7ad3c14.