ModernUO/Projects/UOContent/Commands/Object Creation
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
..
Add.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
AddGump.cs fix: Cleans up Point checks and removes statics (#966) 2022-03-20 23:15:59 -07:00
CAGCategory.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
CAGLoader.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
CAGNode.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
CAGObject.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
CategorizedAddGump.cs fix(cleanup): Consolidate the duplicate code in Properties, PropsGump, and PropsConfig (#540) 2021-04-14 22:58:56 -07:00
Decorate.cs fix: Changes Map.Sector.Items to link list. (#1547) 2023-10-16 20:51:02 -07:00
DecorateMag.cs fix: Changes Map.Sector.Items to link list. (#1547) 2023-10-16 20:51:02 -07:00
GenTeleporter.cs fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00