mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-22 16:05:02 +00:00
Generate signs by default
This commit is contained in:
parent
5d73b17415
commit
c53cffb745
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue