mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-25 19:45:36 +01:00
Fix admin shop creation no longer working
This commit is contained in:
parent
ce2b07a37c
commit
8f42abe99b
@ -274,7 +274,7 @@ public class NameManager {
|
||||
|
||||
public static boolean canUseName(Player player, String name) {
|
||||
if (ChestShopSign.isAdminShop(name)) {
|
||||
return false;
|
||||
return Permission.has(player, Permission.ADMIN);
|
||||
}
|
||||
|
||||
if (Permission.otherName(player, name)) {
|
||||
|
Loading…
Reference in New Issue
Block a user