1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-03 03:32:42 +02:00

Merge branch 'refs/heads/groupmanager'

This commit is contained in:
snowleo
2011-11-25 21:12:38 +01:00
9 changed files with 591 additions and 492 deletions

View File

@@ -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;
}