PlotSquared/Core/src/main/resources/addsigns.js

13 lines
321 B
JavaScript
Raw Normal View History

/*
This script will fix all signs in the world.
*/
2019-04-12 04:11:03 +02:00
var plots = PS.sortPlotsByTemp(PS.getPlots());
for (var i = 0; i < plots.size(); i++) {
var plot = plots.get(i);
2019-07-06 01:16:45 +02:00
if (plot.isBasePlot()) {
plot.setSign();
PS.class.static.log('&cSetting sign for: ' + plot);
}
java.lang.Thread.sleep(10);
}