Edit dungeon via gui throw error
This problem appear when you edit any function in GUI
- [Fri 13:24:11 ERROR Minecraft] Could not pass event InventoryClickEvent to MythicDungeons v1.3.0-SNAPSHOT
FieldAccessException: Field index 0 is out of bounds for length 0
at com.comphenix.protocol.reflect.FieldAccessException.fromFormat(FieldAccessException.java:49)
at com.comphenix.protocol.reflect.StructureModifier.write(StructureModifier.java:316)
at net.playavalon.mythicdungeons.dungeons.Instance$LabelTracker.hideLabel(Instance.java:1189)
at net.playavalon.mythicdungeons.dungeons.Instance$LabelTracker.updateLabel(Instance.java:1040)
at net.playavalon.mythicdungeons.dungeons.Instance.updateLabel(Instance.java:956)
at net.playavalon.mythicdungeons.utility.GUIHandler.lambda$initTriggerCategories$13(GUIHandler.java:335)
at net.playavalon.mythicdungeons.avngui.GUI.Buttons.Button.runActions(Button.java:259)
at net.playavalon.mythicdungeons.avngui.GUI.Buttons.Button.click(Button.java:268)
at net.playavalon.mythicdungeons.avngui.GUI.Window.onButtonClick(Window.java:315)
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)