Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Fix plot borders

NotMyFault edited this page Feb 16, 2020 · 3 revisions
/*
Fixes border around plots
/plot debugexec runasync fixborder.js <Plot ID>
*/
var plots = PS.sortPlotsByTemp(PS.getPlots());
PS.class.static.log("Attempting to fix border for " + plots.size() + " plots");
for (var i = 0; i < plots.size(); i++) {
    var plot = plots.get(i);
    plot.setComponent("border", "%s0");
}

Clone this wiki locally