public static void setBiome( final World w, final String id, final AthionPlot plot, final Biome b) { final int bottomX = AthionCore.bottomX(plot.id, w) - 1; final int topX = AthionCore.topX(plot.id, w) + 1; final int bottomZ = AthionCore.bottomZ(plot.id, w) - 1; final int topZ = AthionCore.topZ(plot.id, w) + 1; for (int x = bottomX; x <= topX; x++) { for (int z = bottomZ; z <= topZ; z++) { w.getBlockAt(x, 0, z).setBiome(b); } } plot.biome = b; refreshPlotChunks(w, plot); AthionSQL.updatePlot(getIdX(id), getIdZ(id), plot.world, "biome", b.name()); }