Random scripting stuff

This commit is contained in:
boy0001
2015-08-02 04:01:41 +10:00
parent 2a3c6ab615
commit e314f46c47
7 changed files with 105 additions and 14 deletions

View File

@ -476,9 +476,10 @@ public class Plot {
/**
* Auto merge the plot with any adjacent plots of the same owner
* @see MainUtil#autoMerge(Plot, UUID) to specify the owner
* @param removeRoads If to remove roads when merging
*/
public void autoMerge() {
MainUtil.autoMerge(this, owner);
public void autoMerge(boolean removeRoads) {
MainUtil.autoMerge(this, owner, removeRoads);
}
/**