Fix admin shop creation no longer working

This commit is contained in:
Phoenix616 2021-12-03 14:48:04 +01:00
parent ce2b07a37c
commit 8f42abe99b
No known key found for this signature in database
GPG Key ID: 40E2321E71738EB0
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {