protected void updateAttachment(Player player) {
updateAttachment(player, player.getWorld().getName());
}
protected void updateAttachment(Player player, String worldName) {
PermissionAttachment attach = attachments.get(player.getUniqueId());
Permission playerPerm = getCreateWrapper(player, "");
Permission playerOptionPerm = getCreateWrapper(player, ".options");
if (attach == null) {
attach = player.addAttachment(plugin);
attachments.put(player.getUniqueId(), attach);
attach.setPermission(playerPerm, true);
attach.setPermission(playerOptionPerm, true);
}
PermissionUser user = plugin.getPermissionsManager().getUser(player);
if (user != null) {
if (user.isDebug()) {