Skip to content

Conversation

@x3rt
Copy link

@x3rt x3rt commented Jul 28, 2024

Currently there is a bug where Clearing a Player's inventory drops some amount of ammunition.
This is due to BodyArmorUtils.RemoveEverythingExceedingLimits getting called in OnRemoved in InventorySystem.Items.Armor.BodyArmor
Meaning that when the items are cleared, and armor gets removed, any additional ammo that cannot be carried will be dropped first, so when ClearAmmo is called it doesn't remove the dropped ammo

@github-actions github-actions bot added the API label Jul 28, 2024
@louis1706
Copy link

weird i remind already have done this lol

@louis1706 louis1706 merged commit 4654bf2 into ExMod-Team:dev Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants