Skip to content

Commit

Permalink
BugFix
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachesMLG committed Oct 17, 2021
1 parent 789be68 commit 014ac6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class UserTableManager extends TableManager<User, Integer> {
public UserTableManager(ConnectionSource connectionSource) throws SQLException {
super(connectionSource, User.class, Comparator.comparing(User::getUuid));
this.userIslandIndex = new SortedList<>(Comparator.comparing(user -> user.getIsland().map(Island::getId).orElse(0)));
this.userIslandIndex.addAll(getDao().queryForAll());
this.userIslandIndex.addAll(getEntries());
sort();
}

Expand Down

0 comments on commit 014ac6e

Please sign in to comment.