summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupBridge
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-11-25 21:12:38 +0100
committersnowleo <schneeleo@gmail.com>2011-11-25 21:12:38 +0100
commitfa733941138393a610625266dca52350e1fe4666 (patch)
tree54cc0437c9a363156280ab40a01fb35daf2822ac /EssentialsGroupBridge
parent3daf56c8bea5280c05c7791a700b84bb2abbddaf (diff)
parentb25a8f059b4d383b21d789aefbd3e3273503c0ba (diff)
downloadEssentials-fa733941138393a610625266dca52350e1fe4666.tar
Essentials-fa733941138393a610625266dca52350e1fe4666.tar.gz
Essentials-fa733941138393a610625266dca52350e1fe4666.tar.lz
Essentials-fa733941138393a610625266dca52350e1fe4666.tar.xz
Essentials-fa733941138393a610625266dca52350e1fe4666.zip
Merge branch 'refs/heads/groupmanager'
Diffstat (limited to 'EssentialsGroupBridge')
-rw-r--r--EssentialsGroupBridge/src/org/anjocaido/groupmanager/permissions/NijikoPermissionsProxy.java4
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;
}