mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-18 11:19:21 +00:00
fix sphere volume formula (#36)
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user