Funwayguy / OreExcavation

Ore Excavation issue tracker
5 stars 0 forks source link

Randomloot + Oreexcavation #34

Open Jananas13035 opened 2 years ago

Jananas13035 commented 2 years ago

So im just starting mining with randomloot pickaxe and when the durability ends my minecraft crashes is there any way fixing without removing these mods?

Jananas13035 commented 2 years ago

if pickaxe breaks without using ore excavation at end it doesn't crash if pickaxe from other mod breaks while using ore excavation minecraft doesnt crash

rudwolf commented 2 years ago

I had the same issue, any chance you can fix that by testing if the durability is decreased more than the tool is capable? I'm sure this is what's happening:

tool durability is: 1 ore ex is used, breaking 20 blocks, using 0.1 points of durability per block new durability should be 0, instead is going to -1 and then minecraft crashes.

so if possible, make some condition that when durability is used beyond possible, it breaks or it locks at 0.1...