diff --git a/Core/src/main/resources/addsigns.js b/Core/src/main/resources/addsigns.js index 7f0996ca1..a1d2b8714 100644 --- a/Core/src/main/resources/addsigns.js +++ b/Core/src/main/resources/addsigns.js @@ -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)) { diff --git a/Core/src/main/resources/automerge.js b/Core/src/main/resources/automerge.js index b8326e842..6a6c2a20f 100644 --- a/Core/src/main/resources/automerge.js +++ b/Core/src/main/resources/automerge.js @@ -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++) { diff --git a/Core/src/main/resources/setbiomes.js b/Core/src/main/resources/setbiomes.js index b3d1dd4ff..48c841cb2 100644 --- a/Core/src/main/resources/setbiomes.js +++ b/Core/src/main/resources/setbiomes.js @@ -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)) {