mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Fix /plot auto
performance and remove sign-guessing
This commit is contained in:
@ -352,5 +352,7 @@ public class Settings extends Config {
|
||||
public static boolean EXTERNAL_PLACEHOLDERS = true;
|
||||
@Comment("Make road regeneration persistent across restarts") public static boolean
|
||||
PERSISTENT_ROAD_REGEN = false;
|
||||
@Comment("Try to guess plot owners from sign data. This may decrease server performance")
|
||||
public static boolean GUESS_PLOT_OWNER = false;
|
||||
}
|
||||
}
|
||||
|
@ -2368,7 +2368,7 @@ public class Plot {
|
||||
if (this.hasOwner()) {
|
||||
return this.owner;
|
||||
}
|
||||
if (!this.area.allowSigns()) {
|
||||
if (!this.area.allowSigns() || !Settings.Enabled_Components.GUESS_PLOT_OWNER) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
|
Reference in New Issue
Block a user