documentation + fix toggles for admins

This commit is contained in:
boy0001
2015-08-26 16:44:50 +10:00
parent 3229705012
commit 5b44e39bec
8 changed files with 145 additions and 18 deletions

View File

@ -178,7 +178,7 @@ public class BukkitPlayer extends PlotPlayer {
@Override
public void removeAttribute(String key) {
key = "plotsquared_user_attributes." + key;
if (EconHandler.manager == null) {
if (EconHandler.manager == null || player.hasPermission("plotsquared_user_attributes.*")) {
deleteMeta(key);
return;
}