Generate signs by default

This commit is contained in:
Hannes Greule 2020-08-24 12:47:17 +02:00 committed by N0tMyFaultOG
parent 26a99a122a
commit 31ea7297c2
2 changed files with 6 additions and 1 deletions

View File

@ -1116,7 +1116,7 @@ public abstract class PlotArea {
* @return true if plot signs are allow, false otherwise. * @return true if plot signs are allow, false otherwise.
*/ */
public boolean allowSigns() { public boolean allowSigns() {
return allowSigns && (this.plots.size() > 1) /* Do not generate signs for single plots */; return allowSigns;
} }
/** /**

View File

@ -207,6 +207,11 @@ public class SinglePlotArea extends GridPlotWorld {
return super.addPlotIfAbsent(plot); return super.addPlotIfAbsent(plot);
} }
@Override
public boolean allowSigns() {
return false; // do not create signs for single plots
}
protected Plot adapt(Plot p) { protected Plot adapt(Plot p) {
if (p instanceof SinglePlot) { if (p instanceof SinglePlot) {
return p; return p;