Clean Spawns Command
Had some problems with bad spawns while updating, and read quite a few posts about people trying to get rid of them, so I made a command to help in this.
[CleanSpawns
This will search through the World Items for spawners. Then it'll go through the Spawners' CreaturesName list and see if it's valid (Taken from Spawner.cs) If it's not valid, it removes the name, and sends a Console msg. Then, after it goes through the names, it checks to see if there are any names left, and if not, it adds the Spawner to a list. It then deletes the spawners on that list.
Report any bugs, I did some testing, but there could definately be some bugs.
Hope this helps all who have the badspawns.log!
Had some problems with bad spawns while updating, and read quite a few posts about people trying to get rid of them, so I made a command to help in this.
[CleanSpawns
This will search through the World Items for spawners. Then it'll go through the Spawners' CreaturesName list and see if it's valid (Taken from Spawner.cs) If it's not valid, it removes the name, and sends a Console msg. Then, after it goes through the names, it checks to see if there are any names left, and if not, it adds the Spawner to a list. It then deletes the spawners on that list.
Report any bugs, I did some testing, but there could definately be some bugs.
Hope this helps all who have the badspawns.log!