mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-24 11:36:11 +01:00
/region info now names locations correctly
This commit is contained in:
parent
71aaa574b2
commit
770a108bad
@ -93,9 +93,9 @@ public boolean handle(CommandSender sender, String senderName, String command, S
|
|||||||
if (nfo.type == FlagValueType.LOCATION && !displayLocations.contains(nfo.flagName)) {
|
if (nfo.type == FlagValueType.LOCATION && !displayLocations.contains(nfo.flagName)) {
|
||||||
value = flags.getFlag(nfo.flagName, "x");
|
value = flags.getFlag(nfo.flagName, "x");
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
s.append(fullName + ": set");
|
s.append(nfo.flagName + ": set");
|
||||||
} else {
|
} else {
|
||||||
s.append(fullName + ": -");
|
s.append(nfo.flagName + ": -");
|
||||||
}
|
}
|
||||||
displayLocations.add(nfo.flagName);
|
displayLocations.add(nfo.flagName);
|
||||||
} else if ((nfo.subName != null && nfo.subName.equals("*"))) {
|
} else if ((nfo.subName != null && nfo.subName.equals("*"))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user