mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 18:47:44 +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
|
@Override
|
||||||
public boolean isContainedWithin(DefaultDomain domain) throws CommandException {
|
public boolean isContainedWithin(DefaultDomain domain) throws CommandException {
|
||||||
|
if (domain.contains(name)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (uniqueId == null) {
|
if (uniqueId == null) {
|
||||||
Profile profile;
|
Profile profile;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user