mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 22:13:12 +00:00
Database correction / Code cleanup, Fixes #490
This commit is contained in:
parent
5ea7403d2e
commit
46e48857bf
33 changed files with 350 additions and 183 deletions
|
@ -210,7 +210,7 @@ public class Set extends SubCommand {
|
|||
MainUtil.sendMessage(plr, C.ALIAS_TOO_LONG);
|
||||
return false;
|
||||
}
|
||||
for (final Plot p : PS.get().getPlots(plr.getLocation().getWorld()).values()) {
|
||||
for (final Plot p : PS.get().getPlotsInWorld(plr.getLocation().getWorld())) {
|
||||
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