Wired StoredItem prefabs for every gun and magazine so lockers, cars, and shelves place correctly (fixes “doesn’t go in / reopen shows dozens of dupes”).
Keep ammo DefaultValue in sync with MagazineSize and force StackLimit = 1 so SkillTree (or other) capacity changes no longer desync storage transfers.
Registry wait now also waits for Registry.Instance (not just weapon load) before registering — fixes client FishNet storage crashes when a non-host stores a MoreGuns item.
Added a safety Prefix on ItemInstance.CreateInstanceAndRead so missing MoreGuns IDs re-register before deserialize.
1.6.5
Stability
Hardened save-load Harmony further: patch side-effects (shop inject) wait until every patch class has finished binding and a short settle completes, so gameplay hooks cannot run mid-batch.
Staggered MoreGuns Harmony so it finishes before Police Response Overhaul starts installing its larger patch set.
Removed experimental PrepareMethod warmup (it could force the same MonoMod CompileMethodHook path that fatals).
Build
Version number lives in a single version.txt (MelonInfo, assembly, Nexus/Thunderstore zips).
build.bat deploys the IL2CPP DLL to Builds\Public\Mods and the Mono DLL to Builds\Alternate\Mods.
Separate Thunderstore IL2CPP / Mono packages via build.bat.
1.6.4
Stability
Fixed intermittent Fatal CLR 0x80131506 (MonoMod CompileMethodHook) when loading a save: Harmony waits for the local player + settle time, then applies patches one class per frame instead of bulk PatchAll during Main/save deserialize.
1.6.3
Multiplayer
Other players can see and hear the guns you’re holding again (avatar equippable sync restored).
Animations (NPCs and External Player Models)
AK-47, sniper, SMG, minigun, and RPG use proper two-handed grips (player and NPCs).
SMG uses a two-hand pistol-style grip so both hands sit on the weapon instead of an empty AK-style forward grip.
Combat
Fixed NullReference crashes when equipping SMGs (PositionAnimationModel) and when firing ranged weapons.
Custom-gun bullet tracers are visible again for cops and other players.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.