Update Forestry.java (#41)

* Update Forestry.java

* spotlessApply (#42)

Co-authored-by: GitHub GTNH Actions <>

* Update Forestry.java

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2023-02-16 11:14:18 +01:00
1 parent 983b5bc8dd
commit f2b402955a
1 file changed
+1 -2
@@ -523,8 +523,7 @@ public class Bee extends IndividualLiving implements IBee {
}
// / Secondary Products
for (Map.Entry<ItemStack, Float> entry : secondary.getProductChances().entrySet()) {
if (housing.getWorld().rand.nextFloat()
< getFinalChance(entry.getValue() / 2, speed, prodModifier, 1f)) {
if (housing.getWorld().rand.nextFloat() < getFinalChance(entry.getValue() / 2, speed, prodModifier, 1f)) {
products.add(entry.getKey().copy());
}
}