diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt index ac91f5d8e..da3f2480a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt @@ -103,7 +103,7 @@ object AdvancedPlayerList { if (config.reverseSort) { newPlayerList = newPlayerList.reversed().toMutableList() } - if (extraTitles > 0) { + if (extraTitles > 0 && newPlayerList.size >= 19) { newPlayerList.add(19, original.first()) } newList.addAll(newPlayerList) |