Crash #2
Opened this issue ยท 3 comments
This was caused when I was walking forward at the same time as trying to ALT+ScrollWheel to select an item from my inventory to be placed onto my toolbar. (So I was pressing Alt + W + Scroll Wheel Down)
java.lang.ArrayIndexOutOfBoundsException: 11
at com.zyin.zyinhud.mods.ItemSelector.adjustSlot(ItemSelector.java:182)
at com.zyin.zyinhud.mods.ItemSelector.Scroll(ItemSelector.java:130)
at com.zyin.zyinhud.keyhandlers.ItemSelectorKeyHandler.OnMouseWheelScroll(ItemSelectorKeyHandler.java:23)
at com.zyin.zyinhud.ZyinHUDKeyHandlers.MouseEvent(ZyinHUDKeyHandlers.java:124)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_860_ZyinHUDKeyHandlers_MouseEvent_MouseEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:51)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:122)
at net.minecraftforge.client.ForgeHooksClient.postMouseEvent(ForgeHooksClient.java:364)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1676)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:421)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:512)
at org.multimc.EntryPoint.listen(EntryPoint.java:165)
at org.multimc.EntryPoint.main(EntryPoint.java:54)
I don't understand how this crash could have occurred. Were you using other mods, perhaps one that increases the size of the hotbar?
Are you able to reproduce the crash, and if so can you send me a screenshot of your inventory, what direction you scrolled, and what position the cursor was at before it crashed?
Yes I am using Dual Hotbar: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2178797
That's a pretty neat mod.
Anyway, because of the way he increases the size of the hotbar (by using one of the inventory's already existing rows) its not possible to support this extra hotbar row because its not technically a part of the original hotbar. I would have to hard code in a specific exception for the Item Selector to work for the Dual Hotbar mod which I am not inclined to do. Instead, I will have it show an error message if you attempt to use the Item Selector with a hotbar slot that was created using another mod.