mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Generate signs by default
This commit is contained in:
parent
26a99a122a
commit
31ea7297c2
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user