mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Fixes #2322
This commit is contained in:
parent
6cea26f436
commit
6916752434
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
This script will fix all signs in the world.
|
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++) {
|
for (var i = 0; i < plots.size(); i++) {
|
||||||
var plot = plots.get(i);
|
var plot = plots.get(i);
|
||||||
if (!plot.isMerged() || !plot.getMerged(0)) {
|
if (!plot.isMerged() || !plot.getMerged(0)) {
|
||||||
|
@ -28,7 +28,7 @@ The following utility classes are usable:
|
|||||||
|
|
||||||
For more information see: https://github.com/IntellectualSites/PlotSquared/wiki/Scripting
|
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");
|
PS.class.static.log("Attempting to auto merge " + plots.size() + " plots");
|
||||||
if ("%s0" === "true") {
|
if ("%s0" === "true") {
|
||||||
for (var i = 0; i < plots.size(); i++) {
|
for (var i = 0; i < plots.size(); i++) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
This script will reset all biomes in claimed plots
|
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++) {
|
for (var i = 0; i < plots.size(); i++) {
|
||||||
var plot = plots.get(i);
|
var plot = plots.get(i);
|
||||||
if (!plot.isMerged() || !plot.getMerged(0)) {
|
if (!plot.isMerged() || !plot.getMerged(0)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user