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

Add import/export support

This commit is contained in:
Luck
2016-08-18 12:30:51 +01:00
parent 84afbf26f8
commit e9e7d81ddf
17 changed files with 269 additions and 53 deletions

View File

@@ -74,7 +74,7 @@ public class LogEntry implements Comparable<LogEntry> {
@Override
public int compareTo(LogEntry o) {
return Long.compare(timestamp, o.getTimestamp());
return equals(o) ? 0 : (Long.compare(timestamp, o.getTimestamp()) == 0 ? 1 : Long.compare(timestamp, o.getTimestamp()));
}
public boolean matchesSearch(String query) {