restored getBiome() name for backward compatibility

This commit is contained in:
Frank 2022-07-03 13:42:15 +02:00
parent b3c58b42e9
commit 25948c7c6b

View file

@ -236,7 +236,7 @@ public class BCLBiome extends BCLBiomeSettings {
* @return {@link Biome}.
*/
@Deprecated(forRemoval = true)
public Biome getBiomeOld() {
public Biome getBiome() {
if (biomeToRegister != null) return biomeToRegister;
return BiomeAPI.getFromBuiltinRegistry(biomeKey).value();
}