fix sphere volume formula (#36)

This commit is contained in:
ChromicRedBrick authored and GitHub committed 2022-11-08 17:40:58 +01:00
1 parent 564f86141e
commit 48e5948ce9
1 file changed
+1 -1
@@ -206,6 +206,6 @@ public class NEIMeteorRecipeHandler extends TemplateRecipeHandler {
}
private int getEstimatedAmount(float chance, int radius) {
return (int) Math.ceil(3f / 4 * Math.PI * Math.pow(radius, 3) * chance);
return (int) Math.ceil(4f / 3 * Math.PI * Math.pow(radius, 3) * chance);
}
}