Describe the bug
The client crashes if a module is disabled and a key is pressed fast enough right after
To Reproduce
Join a world or server, enable a module then disable it and press a key right after or almost at the same time
Expected behavior
A clear and concise description of what you expected to happen.
Stack Trace
java.lang.IndexOutOfBoundsException: Index: 9, Size: 9
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at me.wavelength.baseclient.event.EventManager.call(EventManager.java:156)
at net.minecraft.block.Block.getMixedBrightnessForBlock(Block.java:395)
at net.minecraft.client.renderer.BlockModelRenderer$AmbientOcclusionFace.updateVertexBrightness(BlockModelRenderer.java:499)
at net.minecraft.client.renderer.BlockModelRenderer.renderModelAmbientOcclusionQuads(BlockModelRenderer.java:193)
at net.minecraft.client.renderer.BlockModelRenderer.renderModelAmbientOcclusion(BlockModelRenderer.java:81)
at net.minecraft.client.renderer.BlockModelRenderer.renderModel(BlockModelRenderer.java:48)
at net.minecraft.client.renderer.BlockModelRenderer.renderModel(BlockModelRenderer.java:40)
at net.minecraft.client.renderer.BlockRendererDispatcher.renderBlock(BlockRendererDispatcher.java:73)
at net.minecraft.client.renderer.chunk.RenderChunk.rebuildChunk(RenderChunk.java:214)
at net.minecraft.client.renderer.chunk.ChunkRenderWorker.processTask(ChunkRenderWorker.java:79)
at net.minecraft.client.renderer.chunk.ChunkRenderWorker.run(ChunkRenderWorker.java:38)
at java.lang.Thread.run(Unknown Source)
Describe the bug The client crashes if a module is disabled and a key is pressed fast enough right after
To Reproduce Join a world or server, enable a module then disable it and press a key right after or almost at the same time
Expected behavior A clear and concise description of what you expected to happen.
Stack Trace
Versions: