mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Fixed 2 warnings.
This commit is contained in:
@ -212,8 +212,8 @@ public class SpoutWorld extends LocalWorld {
|
||||
public void setBiome(Vector2D pt, BiomeType biome) {
|
||||
if (biome instanceof SpoutBiomeType &&
|
||||
world.getGenerator() instanceof BiomeGenerator) {
|
||||
BiomeGenerator gen = (BiomeGenerator) world.getGenerator();
|
||||
throw new UnsupportedOperationException("Biome changing is not yet supported in Spout");
|
||||
//BiomeGenerator gen = (BiomeGenerator) world.getGenerator();
|
||||
//gen.setBiome(new Vector3(pt.getBlockX(), 0, pt.getBlockZ()), ((SpoutBiomeType) biome).getSpoutBiome());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user