Closing world while debug pie chart is open causes crash
Maybe related to MC-115812
The bug
Closing a world while the debug pie chart is open causes the game to crash.
Description: Unexpected error java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(Unknown Source) at java.util.ArrayList.remove(Unknown Source) at ut.e(SourceFile:103) at bne.b(SourceFile:887) at bne.a(SourceFile:380) at net.minecraft.client.main.Main.main(SourceFile:140)
How to reproduce
- Open a world
- Open the debug pie chart by pressing SHIFT + F3
- Close the world while the pie chart is still open