mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-11 02:48:22 +01:00
Now displaying UUIDs instead of "Unknown to Plan" on Litebans #643
This commit is contained in:
parent
ea15ff1b4f
commit
03268b464b
@ -189,7 +189,7 @@ public class LiteBansData extends PluginData implements BanData {
|
||||
Map<UUID, String> playerNames = analysisData.getValue(AnalysisKeys.PLAYER_NAMES).orElse(new HashMap<>());
|
||||
for (LiteBansDBObj object : objects) {
|
||||
UUID uuid = object.getUuid();
|
||||
String name = playerNames.getOrDefault(uuid, "Unknown to Plan");
|
||||
String name = playerNames.getOrDefault(uuid, uuid.toString());
|
||||
long expiry = object.getExpiry();
|
||||
String expires = expiry <= 0 ? "Never" : FormatUtils.formatTimeStampSecond(expiry);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user