Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hasDefaultInventory function incorrectly handling item cargo #476

Merged
merged 1 commit into from
Oct 4, 2020

Conversation

mharis001
Copy link
Member

When merged this pull request will:

  • title, use getDefaultInventory which correctly handles weapons/binoculars being listed under TransportItems class
  • Nested forEachs look a bit weird, could use a similar comparison method as before instead of isEqualTo but I think this is simpler

@mharis001 mharis001 added the bug fix Fixes a bug label Oct 1, 2020
@mharis001 mharis001 added this to the 1.10.0 milestone Oct 1, 2020
@mharis001 mharis001 merged commit 269f3c4 into master Oct 4, 2020
@mharis001 mharis001 deleted the fix-hasDefaultInventory branch October 4, 2020 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants