This commit is contained in:
Vidal committed 2026-02-04 06:23:03 -03:00
1 parent 2c3ca1b5ed
commit 75447c62a9
1 file changed
+5 -1
@@ -306,7 +306,11 @@ public class GuiNPCAbilities extends GuiNPCInterface2 implements IScrollData, IC
List<String> list = Register.REGISTERED_NAMESPACES.get("ability");
if (list != null && !list.isEmpty()) {
modIndex = (modIndex + 1) % list.size();
if (modIndex == list.size() - 1) {
scrollType = ScrollType.ALL;
} else {
modIndex = (modIndex + 1) % list.size();
}
} else {
modIndex = 0;
scrollType = ScrollType.ALL;