Utilized new biome lookup from SongodaCore.

This commit is contained in:
Brianna 2020-09-22 16:43:06 -05:00
parent a4a3a18c30
commit e239b45410

View File

@ -463,7 +463,7 @@ public class Island {
} }
public Biome getBiome() { public Biome getBiome() {
return CompatibleBiome.valueOf(plugin.getFileManager().getConfig( return CompatibleBiome.getBiome(plugin.getFileManager().getConfig(
new File(new File(plugin.getDataFolder().toString() + "/island-data"), ownerUUID.toString() + ".yml")) new File(new File(plugin.getDataFolder().toString() + "/island-data"), ownerUUID.toString() + ".yml"))
.getFileConfiguration().getString("Biome.Type")).getBiome(); .getFileConfiguration().getString("Biome.Type")).getBiome();
} }