Skip to content

fix NullPointerException startup crash in autoeat and automend modules#6385

Open
xvrrv wants to merge 2 commits intoMeteorDevelopment:masterfrom
xvrrv:blacklist
Open

fix NullPointerException startup crash in autoeat and automend modules#6385
xvrrv wants to merge 2 commits intoMeteorDevelopment:masterfrom
xvrrv:blacklist

Conversation

@xvrrv
Copy link
Copy Markdown
Contributor

@xvrrv xvrrv commented May 7, 2026

Type of change

  • Bug fix
  • New feature

Description

a simple fix to this crash
this was caused because these modules were missing a flag called .bypassFilterWhenSavingAndLoading() in the blacklist setting
which is needed since they are calling item.components() because the game is still loading

Related issues

#6384
#6375

How Has This Been Tested?

singleplayer by adding and removing items from the blacklist, then close and start the game again
no crash at all

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas. (no needed)
  • I have tested the code in both development and production environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant