This commit is contained in:
Jesse Boyd 2019-04-12 12:11:03 +10:00
parent 6cea26f436
commit 6916752434
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/*
This script will fix all signs in the world.
*/
var plots = PS.sortPlots(PS.getPlots());
var plots = PS.sortPlotsByTemp(PS.getPlots());
for (var i = 0; i < plots.size(); i++) {
var plot = plots.get(i);
if (!plot.isMerged() || !plot.getMerged(0)) {

View File

@ -28,7 +28,7 @@ The following utility classes are usable:
For more information see: https://github.com/IntellectualSites/PlotSquared/wiki/Scripting
*/
var plots = PS.sortPlots(PS.getPlots());
var plots = PS.sortPlotsByTemp(PS.getPlots());
PS.class.static.log("Attempting to auto merge " + plots.size() + " plots");
if ("%s0" === "true") {
for (var i = 0; i < plots.size(); i++) {

View File

@ -1,7 +1,7 @@
/*
This script will reset all biomes in claimed plots
*/
var plots = PS.sortPlots(PS.getPlots());
var plots = PS.sortPlotsByTemp(PS.getPlots());
for (var i = 0; i < plots.size(); i++) {
var plot = plots.get(i);
if (!plot.isMerged() || !plot.getMerged(0)) {