Fixed List Mode setting itself to thumbnails. Now uses the default.

This commit is contained in:
KrewsOrg 2020-04-21 16:28:24 +01:00
parent 4056e48643
commit f261e8c10c

View File

@ -16,7 +16,7 @@ public class HabboNavigatorPersonalDisplayMode {
}
public HabboNavigatorPersonalDisplayMode(ResultSet set) throws SQLException {
this.listMode = set.getString("list_type").equals("thumbnails") ? ListMode.THUMBNAILS : ListMode.LIST;
this.listMode = set.getBoolean("list_type") ? ListMode.THUMBNAILS : ListMode.LIST;
this.displayMode = DisplayMode.valueOf(set.getString("display").toUpperCase());
}
}