Generate signs by default

This commit is contained in:
Hannes Greule 2020-08-24 12:47:17 +02:00
parent 5d73b17415
commit c53cffb745
2 changed files with 6 additions and 1 deletions

View File

@ -1064,7 +1064,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

@ -191,6 +191,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;