mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 07:13:11 +00:00
Remove incorrect IButterflyMutation change
This commit is contained in:
1 parent
9614f95961
commit
6a205d71cc
1 file changed
+1
-1
@@ -248,7 +248,7 @@ public class Butterfly extends IndividualLiving implements IButterfly {
|
||||
}
|
||||
|
||||
for (IButterflyMutation mutation : ButterflyManager.butterflyRoot.getMutations(true)) {
|
||||
float chance = mutation.getChance(nursery, allele0, allele1, genome0, genome1, nursery);
|
||||
float chance = mutation.getChance(nursery, allele0, allele1, genome0, genome1);
|
||||
if (chance > rand.nextFloat() * 100) {
|
||||
return ButterflyManager.butterflyRoot.templateAsChromosomes(mutation.getTemplate());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user