mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Fix export command switchprimarygroup output, and log player uuid if their username isn't included
This commit is contained in:
parent
029dc9f8d9
commit
132d0cf578
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user