When collecting 2 spears that are both about to break, it causes an error and doesn't allow collecting any other spears of that item (as shown in the video, you cannot collect any other wooden spears, even if they are at full durability).
Anyone have an idea for a fix? One idea I have is to not allow charge if it is about to break. Although, I am a little unsure of where to begin.
Error in video:
[Scripting][error]-Error: Invalid damage value '100' set on item 'ti:wooden_spear'. Damage values cannot be greater than maxDurability. at <anonymous> (spear_scripts/spear_pickup.js:26)