Update to latest Forestry API

This commit is contained in:
D-Cysteine committed 2021-08-12 20:55:36 -06:00
1 parent 3a1b633044
commit 7b021331bb
4 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ plugins {
apply plugin: "se.bjurr.gitchangelog.git-changelog-gradle-plugin"
apply plugin: 'forge'
version = "2.0.29"
version = "2.0.30"
if (System.getenv("BUILD_NUMBER") != null) {
version = version + "." + System.getenv("BUILD_NUMBER")
}
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,6 @@
package binnie.extrabees.genetics.requirements;
import forestry.api.core.IClimateProvider;
import forestry.api.genetics.IAllele;
import forestry.api.genetics.IGenome;
import forestry.api.genetics.IMutationCondition;
@@ -13,7 +14,7 @@ public class DummyMutationCondition implements IMutationCondition {
}
@Override
public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1) {
public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1, IClimateProvider climate) {
return 1.0F;
}