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.
*/
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);
}
@Override
public boolean allowSigns() {
return false; // do not create signs for single plots
}
protected Plot adapt(Plot p) {
if (p instanceof SinglePlot) {
return p;