mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-03 22:24:43 +02:00
Fix schematic on claim/auto
This commit is contained in:
Bukkit/src/main/java/com/plotsquared/bukkit/util/block
Core/src/main/java/com/intellectualcrafters/plot
@ -41,7 +41,9 @@ public class GenChunk extends PlotChunk<Chunk> {
|
||||
|
||||
@Override
|
||||
public void setBiome(int x, int z, int biome) {
|
||||
this.grid.setBiome(x, z, this.biomes[biome]);
|
||||
if (this.grid != null) {
|
||||
this.grid.setBiome(x, z, this.biomes[biome]);
|
||||
}
|
||||
}
|
||||
|
||||
public void setBiome(int x, int z, Biome biome) {
|
||||
|
Reference in New Issue
Block a user