mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-24 03:25:20 +01:00
Fix /quests list when there's barely more than one page of quests
This commit is contained in:
parent
50b3c272bb
commit
d5731d324b
@ -2560,7 +2560,7 @@ try{
|
||||
|
||||
if (numOrder > 1) {
|
||||
if (quests.size() >= (numOrder + 7)) {
|
||||
subQuests = quests.subList((numOrder), (numOrder + 8));
|
||||
subQuests = quests.subList((numOrder), (numOrder + 7));
|
||||
} else {
|
||||
subQuests = quests.subList((numOrder), quests.size());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user