ModernUO/Projects/UOContent/Mobiles
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
..
Abilities fix: Prepares for IPooledEnumerable removal (#1548) 2023-10-15 11:20:49 -07:00
AI fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Animals feat: Adds Stamina System to overhaul overweight. (#1465) 2023-09-16 17:52:54 -07:00
Familiars fix: Changes Map.Sector.Items to link list. (#1547) 2023-10-16 20:51:02 -07:00
Guards fix: Changes BaseWeapon to source generator and changes crafter to string (#1519) 2023-09-29 22:45:37 -07:00
Healers fix: Adds generic entity persistence support and BOBEntry as entities (#1527) 2023-10-01 17:38:52 -07:00
Hireables fix: Hireables should not drop their pack (#1503) 2023-09-17 17:24:59 -07:00
Monsters fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Special fix: Prepares for IPooledEnumerable removal (#1548) 2023-10-15 11:20:49 -07:00
Townfolk fix: Cleans up entity persistence. Generalizes Mobiles/Items/Guilds (#1528) 2023-10-01 22:10:47 -07:00
Vendors fix: Prepares for IPooledEnumerable removal (#1548) 2023-10-15 11:20:49 -07:00
BaseCreature.cs fix: Fixes process delta calls during death/res (#1559) 2023-10-21 10:39:13 -07:00
NPCSpeeds.cs fix: Makes NPC active movement half think speed (#1256) 2022-11-20 20:05:43 -08:00
PlayerMobile.cs fix: Prepares for IPooledEnumerable removal (#1548) 2023-10-15 11:20:49 -07:00
VirtualMountItem.cs feat: Adds Stamina System to overhaul overweight. (#1465) 2023-09-16 17:52:54 -07:00