mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 06:23:14 +00:00
Lazy initialization
This commit is contained in:
parent
59c672d9a8
commit
95ad199f52
37 changed files with 263 additions and 207 deletions
|
@ -207,7 +207,7 @@ public class Set extends SubCommand {
|
|||
return false;
|
||||
}
|
||||
for (final Plot p : PS.get().getPlots(plr.getLocation().getWorld()).values()) {
|
||||
if (p.settings.getAlias().equalsIgnoreCase(alias)) {
|
||||
if (p.getSettings().getAlias().equalsIgnoreCase(alias)) {
|
||||
MainUtil.sendMessage(plr, C.ALIAS_IS_TAKEN);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue