Check for names in addition to UUIDs with /rg list.

This commit is contained in:
sk89q 2015-01-04 14:25:04 -08:00
parent 3c8121d088
commit e9d64dbf03

View File

@ -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;