mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Generate signs by default
This commit is contained in:
parent
5d73b17415
commit
c53cffb745
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user