mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 07:59:44 +00:00
Make PermissionsEX handler use UUIDs
This commit is contained in:
parent
0a2f1a3dfe
commit
318e0eabea
2 changed files with 1 additions and 1 deletions
|
@ -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 a new issue