mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-15 23:05:29 +01:00
Also check for full account name permission
This commit is contained in:
parent
1d80edbf9b
commit
e81077143e
@ -260,7 +260,8 @@ public class NameManager {
|
||||
}
|
||||
|
||||
Account account = getAccountFromShortName(name);
|
||||
return account != null && account.getUuid().equals(player.getUniqueId());
|
||||
return account != null && (account.getUuid().equals(player.getUniqueId())
|
||||
|| (!account.getName().equalsIgnoreCase(name) && Permission.otherName(player, account.getName())));
|
||||
}
|
||||
|
||||
public static boolean isAdminShop(UUID uuid) {
|
||||
|
Loading…
Reference in New Issue
Block a user