diff --git a/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java b/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java index 7d5d5f0fc..8524e76bf 100644 --- a/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java +++ b/common/src/main/java/me/lucko/luckperms/common/backup/Exporter.java @@ -230,7 +230,7 @@ public class Exporter implements Runnable { continue; } - output.add("/lp" + NodeFactory.nodeAsCommand(node, user.getUuid().toString(), false, true)); + output.add("/lp " + NodeFactory.nodeAsCommand(node, user.getUuid().toString(), false, true)); } if (!user.getPrimaryGroup().getStoredValue().orElse("default").equalsIgnoreCase("default")) { diff --git a/common/src/main/java/me/lucko/luckperms/common/storage/dao/file/ConfigurateDao.java b/common/src/main/java/me/lucko/luckperms/common/storage/dao/file/ConfigurateDao.java index 28b5a122c..502e9f0cf 100644 --- a/common/src/main/java/me/lucko/luckperms/common/storage/dao/file/ConfigurateDao.java +++ b/common/src/main/java/me/lucko/luckperms/common/storage/dao/file/ConfigurateDao.java @@ -323,7 +323,7 @@ public abstract class ConfigurateDao extends AbstractDao { .map(bulkUpdate::apply) .filter(Objects::nonNull) .collect(Collectors.toSet()); - + if (!nodes.equals(results)) { writeNodes(object, results); saveFile(file, object);