diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-25 21:12:38 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-25 21:12:38 +0100 |
commit | 6ba02c7f74652565b2918e1591bee4c56adf6e34 (patch) | |
tree | bf6b9f61a3c0eb7f0a8d4f0b28b6144dfa607d0f /EssentialsGroupBridge | |
parent | cc155b145b8b51e34c0031ae22b5f14c8b6d196a (diff) | |
parent | befbb4d0e51db31270c9d7b42fc3e4c3b8983b08 (diff) | |
download | Essentials-6ba02c7f74652565b2918e1591bee4c56adf6e34.tar Essentials-6ba02c7f74652565b2918e1591bee4c56adf6e34.tar.gz Essentials-6ba02c7f74652565b2918e1591bee4c56adf6e34.tar.lz Essentials-6ba02c7f74652565b2918e1591bee4c56adf6e34.tar.xz Essentials-6ba02c7f74652565b2918e1591bee4c56adf6e34.zip |
Merge branch 'refs/heads/groupmanager'
Diffstat (limited to 'EssentialsGroupBridge')
-rw-r--r-- | EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java b/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java index e72666cf7..da40fc172 100644 --- a/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java +++ b/EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java @@ -521,10 +521,10 @@ public class NijikoPermissionsProxy extends PermissionHandler { @Override public boolean has(String world, String playerName, String permission) { - if (permission == null || permission.equals("")) { + if (permission == null || permission.isEmpty()) { return false; } - if (playerName == null || playerName == "") { + if (playerName == null || playerName.isEmpty()) { GroupManager.logger.severe("A plugin is asking permission '" + permission + "' for a null player... Which plugin does that? Bastards!"); return false; } |