setGroupValue(worldName, groupName, node, value);
}
@Override
public boolean getPlayerInfoBoolean(String worldName, String playerName, String node, boolean defaultValue) {
AnjoPermissionsHandler handler;
if (worldName == null) {
handler = groupManager.getWorldsHolder().getWorldPermissionsByPlayerName(playerName);
} else {
handler = groupManager.getWorldsHolder().getWorldPermissions(worldName);
}
if (handler == null) {
return defaultValue;
}
Boolean val = handler.getUserPermissionBoolean(playerName, node);
return val != null ? val : defaultValue;
}