mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 13:45:20 +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() {
|
public String getFormatted() {
|
||||||
return String.format(FORMAT,
|
return String.format(FORMAT,
|
||||||
actorName,
|
String.valueOf(actorName).equals("null") ? actor.toString() : actorName,
|
||||||
Character.toString(type),
|
Character.toString(type),
|
||||||
actedName,
|
actedName,
|
||||||
action
|
action
|
||||||
|
@ -227,7 +227,7 @@ public class Exporter implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!user.getPrimaryGroup().getStoredValue().equalsIgnoreCase("default")) {
|
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) {
|
if (!inDefault) {
|
||||||
|
Loading…
Reference in New Issue
Block a user