Merge pull request #7 from D-Cysteine/master-MC1.7.10

Update to latest Forestry API
This commit is contained in:
Martin Robertz authored and GitHub committed 2021-08-14 15:48:48 +02:00
commit d92cae88e2
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;
}