Make PermissionsEX handler use UUIDs

This commit is contained in:
vemacs 2015-06-02 13:20:34 -06:00
parent 0a2f1a3dfe
commit 318e0eabea
2 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ public class PermissionsExHandler extends AbstractVaultHandler {
@Override
public boolean canBuild(final Player base, final String group) {
final PermissionUser user = manager.getUser(base.getName());
final PermissionUser user = manager.getUser(base.getUniqueId());
return user != null && user.getOptionBoolean("build", base.getWorld().getName(), false);
}
}

Binary file not shown.