oops: fix sorter filter crash

This commit is contained in:
George Paton 2025-02-01 20:00:24 +11:00
parent b6d4e95ec9
commit c4e973dc03

View File

@ -83,7 +83,7 @@ public class GUICraneRouter extends GuiInfoContainer {
int index = i % 5;
if(this.isMouseOverSlot(slot, x, y) && matcher.modes[index] != null) {
this.func_146283_a(Arrays.asList(new String[] { EnumChatFormatting.RED + "Right click to change", ModulePatternMatcher.getLabel(matcher.modes[i])}), x, y - 30);
this.func_146283_a(Arrays.asList(new String[] { EnumChatFormatting.RED + "Right click to change", ModulePatternMatcher.getLabel(matcher.modes[index])}), x, y - 30);
}
}
}