LordMonoxide / gradient

0 stars 0 forks source link

Clay crucible with less than 1000mb of metal will crash #655

Closed LordMonoxide closed 4 years ago

LordMonoxide commented 5 years ago

This is due to line 58 of BakedModelClayCrucible. The following change should fix it:

return FLUID_MODELS.get(fluid.getFluid().getName())[fluid.amount / Fluid.BUCKET_VOLUME].getQuads(null, side, rand);