Revert some plot chat changes.

- Having chat for that plotworld will force it on all players without
the bypass permission
- Not having it will require the player to opt into plot chat
This commit is contained in:
boy0001
2015-08-25 00:35:37 +10:00
parent 3bc3b51a27
commit 83d0b8cebb
3 changed files with 3 additions and 75 deletions

View File

@ -162,7 +162,7 @@ public class BukkitPlayer extends PlotPlayer {
@Override
public boolean getAttribute(String key) {
key = "plotsquared_user_attributes." + key;
if (EconHandler.manager == null) {
if (EconHandler.manager == null || player.hasPermission("plotsquared_user_attributes.*")) {
Object v = getMeta(key);
return v == null ? false : (Boolean) v;
}