System.IndexOutOfRangeException: Index was outside the bounds of the array.
at StudioForge.TotalMiner.Screens2.BlockSelectionMenu.GetTagData(Item itemID)
at StudioForge.TotalMiner.Screens2.BlockSelectionMenu.OnItemSelected(InventorySlotWin win, Boolean isLeftClick)
at StudioForge.Engine.GUI.WindowManager.HandleLeftClick(Window win)
at StudioForge.Engine.GUI.WindowManager.HandleWindowHovered(Window windowHovered)
at StudioForge.Engine.GUI.WindowManager.HandleMouseInput()
at StudioForge.Engine.GUI.WindowManager.HandleInput(Boolean isActiveScreen)
at StudioForge.Engine.GameState.GameScreen.HandleInput(InputState input, Boolean isActiveScreen)
at StudioForge.Engine.GameState.ScreenManager.UpdateScreens(Int32 index, Boolean& otherScreenHasFocus)
at StudioForge.Engine.GameState.ScreenManager.Update(GameTime donotuse)
at Microsoft.Xna.Framework.Game.SortingFilteringCollection1.ForEachFilteredItem[TUserData](Action2 action, TUserData userData)
at StudioForge.Engine.Game.BaseGame.Update(GameTime gameTime)
at StudioForge.TotalMiner.TotalMinerGame.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at MonoGame.Framework.WinFormsGameWindow.TickOnIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.Interop.Mso.IMsoComponent.FDoIdle(msoidlef grfidlef)
at System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void* pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context)
at
I had to cut some of the error to type my message, but basically if you try to edit a painting and click an empty spot on the list the game crashes