mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 09:08:01 +01:00
Make PermissionsEX handler use UUIDs
This commit is contained in:
parent
0a2f1a3dfe
commit
318e0eabea
@ -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.
Loading…
Reference in New Issue
Block a user