System.IndexOutOfRangeException: Index was outside the bounds of the array.
at BaseMod.BaseAI.WalkupHalfBricks(TAPI.CodableEntity codable, System.Single& gfxOffY, System.Single& stepSpeed)
at BaseMod.BaseAI.WalkupHalfBricks(Terraria.NPC npc)
at BaseMod.BaseAI.AIZombie(Terraria.NPC npc, System.Single[]& ai, System.Boolean fleeWhenDay = True, System.Boolean allowBoredom = True, System.Int32 openDoors = 1, System.Single moveInterval = 0.07, System.Single velMax = 1, System.Int32 maxJumpTilesX = 3, System.Int32 maxJumpTilesY = 4, System.Int32 ticksUntilBoredom = 60, System.Boolean targetPlayers = True, System.Int32 doorBeatCounterMax = 10, System.Int32 doorCounterMax = 60, System.Boolean jumpUpPlatforms = False)
at OmnirsNosPak.NPCs.OmnirsWitchking.AI()
at Terraria.NPC.AI()
at Terraria.NPC.UpdateNPC(System.Int32 i)
at Terraria.Main.UpdateReal(Microsoft.Xna.Framework.GameTime gameTime)
when fighting sauron in space witchking caused despawn bug while beeing out of map and crushed the game