ModernUO/Projects/UOContent/Mobiles/Hireables
Sergi Rosell 257b4c8c1b
fix: male rangers no longer leak StuddedLegs (#2712)
ShortPants and StuddedLegs both occupy Layer.Pants, so the second EquipItem on a male ranger is refused and its item stays in the world with no parent. Nothing deletes such an item, so every male ranger created leaves one behind in the save.

StuddedLegs already cover the layer and female rangers wear them, so the male ranger now skips the shorts. A test creates and deletes rangers and checks that World.Items does not grow.
2026-10-17 15:17:46 -07:00
..
BaseHire.cs refactor: fold hand-written serializable property setters into field hooks (#2587) 2026-08-22 18:20:39 -07:00
HireBard.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HireBardArcher.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HireBeggar.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HireFighter.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HireMage.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HirePaladin.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HirePeasant.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HireRanger.cs fix: male rangers no longer leak StuddedLegs (#2712) 2026-10-17 15:17:46 -07:00
HireRangerArcher.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HireSailor.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00
HireThief.cs fix: Fixes inaccessible items. (#1435) 2023-07-28 19:29:06 -07:00