mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 03:34:42 +02:00
documentation + fix toggles for admins
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user