Attempt to fix grass shading in 1.14.x

This commit is contained in:
Mike Primm 2019-06-05 18:48:45 -05:00
parent 67f446fdb9
commit 8bc03f41b0
2 changed files with 24 additions and 0 deletions

View File

@ -171,6 +171,18 @@ public class BukkitVersionHelperSpigot114_1 extends BukkitVersionHelperCB {
return ((BiomeBase)bb).m();
}
/** Get temperature from biomebase */
@Override
public float getBiomeBaseTemperature(Object bb) {
return ((BiomeBase)bb).getTemperature();
}
/** Get humidity from biomebase */
@Override
public float getBiomeBaseHumidity(Object bb) {
return ((BiomeBase)bb).getHumidity();
}
@Override
public Polygon getWorldBorder(World world) {
Polygon p = null;

View File

@ -171,6 +171,18 @@ public class BukkitVersionHelperSpigot114 extends BukkitVersionHelperCB {
return ((BiomeBase)bb).m();
}
/** Get temperature from biomebase */
@Override
public float getBiomeBaseTemperature(Object bb) {
return ((BiomeBase)bb).getTemperature();
}
/** Get humidity from biomebase */
@Override
public float getBiomeBaseHumidity(Object bb) {
return ((BiomeBase)bb).getHumidity();
}
@Override
public Polygon getWorldBorder(World world) {
Polygon p = null;