Update code to handle mutations with modified climate

This commit is contained in:
D-Cysteine committed 2021-08-11 23:25:56 -06:00
1 parent 7ea1f150e0
commit 7e889775c1
16 files changed
+121 -20

No files matched your search

@@ -42,7 +42,7 @@ public class BeeMutation extends Mutation implements IBeeMutationCustom {
int y = housingCoordinates.posY;
int z = housingCoordinates.posZ;
float processedChance = super.getChance(world, x, y, z, allele0, allele1, genome0, genome1);
float processedChance = super.getChance(world, x, y, z, allele0, allele1, genome0, genome1, housing);
if (processedChance <= 0) {
return 0;
}