mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 21:56:45 +01:00
13 lines
357 B
JavaScript
13 lines
357 B
JavaScript
|
/*
|
||
|
This script will reset all biomes in claimed plots
|
||
|
*/
|
||
|
var plots = PS.sortPlots(PS.getPlots());
|
||
|
for (var i = 0; i < plots.size(); i++) {
|
||
|
var plot = plots.get(i);
|
||
|
if (!plot.isMerged() || !plot.getMerged(0)) {
|
||
|
plot.setBiome("%s0", null);
|
||
|
PS.class.static.log('&cSetting biome for: ' + plot);
|
||
|
}
|
||
|
java.lang.Thread.sleep(1000);
|
||
|
}
|