mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-06-26 06:14:44 +02:00
Allow admins to create shops for other users (Fixes #176)
This commit is contained in:
parent
2243c2fbc6
commit
470f9d8d99
|
@ -49,7 +49,7 @@ public enum Permission {
|
|||
|
||||
public static boolean otherName(Player player, String name) {
|
||||
if (has(player, Permission.ADMIN)) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
return hasPermissionSet(player, OTHER_NAME + name) || hasPermissionSet(player, OTHER_NAME + name.toLowerCase());
|
||||
|
|
Loading…
Reference in New Issue
Block a user