Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vidal committed 2026-02-04 06:23:17 -03:00
commit a38c2f83ef
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;