ModernUO/Projects/UOContent/Commands
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
..
Generic fix: Prepares for IPooledEnumerable removal (#1548) 2023-10-15 11:20:49 -07:00
Object Creation fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Attributes.cs Cleanup & Fixes for .NET 5 (#309) 2020-11-15 10:03:50 -08:00
Batch.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
BoundingBoxPicker.cs fix: Cleans up Point checks and removes statics (#966) 2022-03-20 23:15:59 -07:00
DragEffects.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
Dupe.cs fix: Adds DupeExcludedProperty to Items (#1556) 2023-10-17 20:14:05 -07:00
ExportWSC.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
Handlers.cs fix: Fixes stabled, abilities targeting self, and unsummon memory leak (#1418) 2023-07-03 09:45:22 -07:00
HelpInfo.cs feat: Adds StaffAccess and ResetStaffDress commands (#895) 2021-12-27 01:27:15 -08:00
LocationCommand.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
Logging.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
Profiling.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
Properties.cs feat: Customize expansion and set maps on first boot (#1425) 2023-07-31 20:46:49 -07:00
ResetRng.cs fix: Fixes typo in ResetRng command (#1211) 2022-10-27 23:29:51 -07:00
ResetStaffDress.cs fix: Codegens suits and adds StaffRobe to replace the others (#1468) 2023-08-23 20:25:54 -07:00
ShardTime.cs feat: Adds StaffAccess and ResetStaffDress commands (#895) 2021-12-27 01:27:15 -08:00
SignParser.cs fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00
Skills.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
SkillsMenu.cs feat: Adds StaffAccess and ResetStaffDress commands (#895) 2021-12-27 01:27:15 -08:00
StaffAccess.cs fix: Fixes setting staff access (#899) 2021-12-27 19:38:03 -08:00
VisibilityList.cs fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283) 2022-11-28 19:58:12 -08:00
Wipe.cs fix: Prepares for IPooledEnumerable removal (#1548) 2023-10-15 11:20:49 -07:00