mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 02:35:25 +01:00
Utilized new biome lookup from SongodaCore.
This commit is contained in:
parent
a4a3a18c30
commit
e239b45410
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user