ModernUO/Projects/UOContent/Spells/Third
Kamron Batman d919f71149
fix: Fixes map iterators for Items (#1564)
### Summary

Modifying a ValueLinkList using one of the methods will bump the "version". This field is used by iterators (foreach loops) to determine if the link list was modified while iterating. The sector.Items (and in the future other lists), will no longer be safe to modify while iterating. The server will _CRASH_ if the ValueLinkList is modified.

Thanks to @stefanomerotta for help!


### Screenshots
<img width="588" alt="image" src="https://github.com/modernuo/ModernUO/assets/3953314/83ee0b6e-ff4f-4768-9e29-84456e04b1ec">
2023-10-26 17:49:15 -07:00
..
Bless.cs fix: Fixes disarm, strangle, curse, summons, looting rights, creatures attacking, and items going to the floor (#1174) 2022-09-27 22:19:15 -07:00
Fireball.cs fix: Removes duplicative spell checks (#849) 2021-11-14 18:45:16 -08:00
MagicLock.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
Poison.cs fix: Fixes divide by zero in poison spell (#883) 2021-12-09 11:57:55 -08:00
Telekinesis.cs fix: Fixes targeting checks (#869) 2021-12-01 08:15:16 -08:00
Teleport.cs fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Unlock.cs fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items (#1350) 2023-02-25 00:54:12 -08:00
WallOfStone.cs fix: Cleans up LINQ calls. (#965) 2022-03-20 19:20:54 -07:00