mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 02:27:42 +01:00
Check for names in addition to UUIDs with /rg list.
This commit is contained in:
parent
3c8121d088
commit
e9d64dbf03
@ -116,6 +116,10 @@ public String getName() {
|
||||
|
||||
@Override
|
||||
public boolean isContainedWithin(DefaultDomain domain) throws CommandException {
|
||||
if (domain.contains(name)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (uniqueId == null) {
|
||||
Profile profile;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user