hello mod creator i have a bug for you to fix if you can it said runtime error and here is what it said
Object reference not set to an instance of an object.
at Terraria.
Object reference not set to an instance of an object.
at Terraria.TileObject.CanPlace(Int32 x, Int32 y, Int32 type, Int32 style, Int32 dir, TileObject& objectData, Boolean onlyCheck, Boolean checkStay)
at Terraria.WorldGen.PlaceObject(Int32 x, Int32 y, Int32 type, Boolean mute, Int32 style, Int32 alternate, Int32 random, Int32 direction)
at Terraria.WorldGen.PlaceTile(Int32 i, Int32 j, Int32 type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at QwertysRandomContent.SkyFortress.generateRoom(Int32 i, Int32 j, Int32 type) in c:\Users\Dad\Documents\My Games\Terraria\ModLoader\Mod Sources\QwertysRandomContent\SkyFortress.cs:line 500
at QwertysRandomContent.SkyFortress.<ModifyWorldGenTasks>b__7(GenerationProgress progress) in c:\Users\Dad\Documents\My Games\Terraria\ModLoader\Mod Sources\QwertysRandomContent\SkyFortress.cs:line 940
at Terraria.GameContent.Generation.PassLegacy.Apply(GenerationProgress progress)
at Terraria.World.Generation.WorldGenerator.GenerateWorld(GenerationProgress progress)
at Terraria.WorldGen.generateWorld(Int32 seed, GenerationProgress customProgressObject)
at Terraria.WorldGen.do_worldGenCallBack(Object threadContext)
at Terraria.WorldGen.worldGenCallBack(Object threadContext)
(Int32 x, Int32 y, Int32 type, Int32 style, Int32 dir, TileObject& objectData, Boolean onlyCheck, Boolean checkStay)
at Terraria.WorldGen.PlaceObject(Int32 x, Int32 y, Int32 type, Boolean mute, Int32 style, Int32 alternate, Int32 random, Int32 direction)
at Terraria.WorldGen.PlaceTile(Int32 i, Int32 j, Int32 type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at QwertysRandomContent.SkyFortress.generateRoom(Int32 i, Int32 j, Int32 type) in c:\Users\Dad\Documents\My Games\Terraria\ModLoader\Mod Sources\QwertysRandomContent\SkyFortress.cs:line 500
at QwertysRandomContent.SkyFortress.<ModifyWorldGenTasks>b__7(GenerationProgress progress) in c:\Users\Dad\Documents\My Games\Terraria\ModLoader\Mod Sources\QwertysRandomContent\SkyFortress.cs:line 940
at Terraria.GameContent.Generation.PassLegacy.Apply(GenerationProgress progress)
at Terraria.World.Generation.WorldGenerator.GenerateWorld(GenerationProgress progress)
at Terraria.WorldGen.generateWorld(Int32 seed, GenerationProgress customProgressObject)
at Terraria.WorldGen.do_worldGenCallBack(Object threadContext)
at Terraria.WorldGen.worldGenCallBack(Object threadContext)
so how can i fix this so it won't crash my game and how to cheak cofig file when it does not have one and how to set this Boolean to false