Skip to content

Commit

Permalink
Spawn Handler Clean-up
Browse files Browse the repository at this point in the history
Use case-insensitive 'names' instead of "strings", don't lowercase them when stored and instead use case-insensitive ~== operator when comparing them.
Remove redundant first item in logging message.  Yes this will cause an unnecessary ", " to be first, oh well.
Because entries are no longer being altered when stored, simply copy them into their data class arrays.
Added debug logging to handleAmmoUses to finally figure out that
Call append() rather than copy() for ADDING to itemsThatUseThis array, rather than REPLACING them.
  • Loading branch information
UndeadZeratul committed Jul 4, 2023
1 parent 4a8a89b commit bc7aade
Showing 1 changed file with 122 additions and 111 deletions.
Loading

0 comments on commit bc7aade

Please sign in to comment.