Float constant suffix

This commit is contained in:
Gabriel Eiseman committed 2023-07-14 19:44:25 -04:00
1 parent 28ae5ebefb
commit a742300bde
1 file changed
+1 -1
@@ -551,7 +551,7 @@ public class Bee extends IndividualLiving implements IBee {
}
public static float getFinalChance(float chance, float beeSpeed, float productionModifier, float t) {
if (productionModifier + t <= 0) {
if (productionModifier + t <= 0f) {
return 0;
}
chance *= 100f;