mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-29 13:36:04 +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) {
|
public static boolean canUseName(Player player, String name) {
|
||||||
if (ChestShopSign.isAdminShop(name)) {
|
if (ChestShopSign.isAdminShop(name)) {
|
||||||
return false;
|
return Permission.has(player, Permission.ADMIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Permission.otherName(player, name)) {
|
if (Permission.otherName(player, name)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user