Fix automerge.js

This commit is contained in:
boy0001 2015-08-28 09:51:05 +10:00
parent fcf2400798
commit ac27a7f37a

View File

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