Allow admins to create shops for other users (Fixes #176)

This commit is contained in:
Phoenix616 2018-10-23 16:06:27 +01:00
parent 2243c2fbc6
commit 470f9d8d99

View File

@ -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());