1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-02 10:52:37 +02:00

Fix export command switchprimarygroup output, and log player uuid if their username isn't included

This commit is contained in:
Luck
2017-04-07 19:59:53 +01:00
parent 029dc9f8d9
commit 132d0cf578
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ public class LogEntry implements Comparable<LogEntry> {
public String getFormatted() {
return String.format(FORMAT,
actorName,
String.valueOf(actorName).equals("null") ? actor.toString() : actorName,
Character.toString(type),
actedName,
action

View File

@@ -227,7 +227,7 @@ public class Exporter implements Runnable {
}
if (!user.getPrimaryGroup().getStoredValue().equalsIgnoreCase("default")) {
output.add("/luckperms user " + user.getUuid().toString() + " switchprimarygroup " + user.getPrimaryGroup());
output.add("/luckperms user " + user.getUuid().toString() + " switchprimarygroup " + user.getPrimaryGroup().getStoredValue());
}
if (!inDefault) {