Game Version: 1.14.7
Platform: Windows
Modded: Yes - NoMonsters
Description
With game version 1.14.7 and my mod, No Monsters 1.0.0 (which patches out drifters and locusts, but does not disable bells), the game crashes when a bell attempts to spawn disabled monsters.
How to reproduce
Install and enable NoMonsters
Spawn a bell
Game crashes with this in the log:
Expected behavior
Bells should not try to spawn disabled entities
Logs
24.1.2021 12:22:33 [Fatal] System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Vintagestory.GameContent.AiTaskBellAlarm.trySpawnCreatures(Int32 maxquantity, Int32 range)
at Vintagestory.GameContent.AiTaskBellAlarm.ContinueExecute(Single dt)
at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)
at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)
at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)
at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)
at Vintagestory.GameContent.EntityBell.OnGameTick(Single dt)
at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)
at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)
at Vintagestory.Server.ServerMain.Process()
Game Version: 1.14.7 Platform: Windows Modded: Yes - NoMonsters
Description
With game version 1.14.7 and my mod, No Monsters 1.0.0 (which patches out drifters and locusts, but does not disable bells), the game crashes when a bell attempts to spawn disabled monsters.
How to reproduce
Expected behavior
Bells should not try to spawn disabled entities
Logs