mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Don't apply the default group when exporting users
This commit is contained in:
parent
f9025c7a51
commit
37749e5829
@ -128,6 +128,9 @@ public class ExportCommand extends SingleMainCommand {
|
|||||||
User user = plugin.getUserManager().get(uuid);
|
User user = plugin.getUserManager().get(uuid);
|
||||||
|
|
||||||
for (Node node : user.getNodes()) {
|
for (Node node : user.getNodes()) {
|
||||||
|
if (node.isGroupNode() && node.getGroupName().equalsIgnoreCase("default")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
write(writer, nodeToString(node, user.getUuid().toString(), false));
|
write(writer, nodeToString(node, user.getUuid().toString(), false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user