-
Notifications
You must be signed in to change notification settings - Fork 2
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
Seemingly random crashes #45
Comments
Confirmed, I just got this too. My crash report from the server: https://gist.github.com/kreezxil/17af2216b8562c7f66430a7c00ea6583 I don't know what my players were doing to trigger it. Mod version: 1.16.4-0.3.8 |
Both of you double check that your configs contain all the necessary information. You may be missing an item or two. You can try deleting the |
@yungnickyoung my monoliths.json, it has the chance set to 0.1 https://gist.github.com/16b70a4129f609652c06e4961759e8ac seems that line 58 is the issue for me i'm guess the config is capable of sending a null, a simple fix might be to change the line to if (setting.getSpawnChance() != null && sharedSeedRandom.nextFloat() > settings.getSpawnChance()) { |
I'll delete my configs for this just in case, they were stock anyway. |
Thanks, I'll try generating a fresh set of configs. I didn't make any changes to them anyway. |
From your Discord, we have a solution and we know why you couldn't duplicate it.
TL;DRAccording to your server moderator, the problem happens when the FeaurePlacement is run in a multiplayer scenario where there are active players in the overworld and in the nether at the same time. So there are times when the data is, in fact, null and thus the npe gets thrown because the same instance is being used for both dimensions. Solution appears to be
|
@kreezxil @Maltshakes Please try version 0.3.9 and see if that fixes the problem. |
Alright, plugging it in now, and we'll shall see how it goes for the weekend. Which is when I got so many players on that the race condition can happen. |
I've been getting recurring crashes on 1.16.5, mod version 0.3.8. I installed Blame to try and narrow down the cause, and it seems to point towards feature placement from this mod.
https://pastebin.com/JQeNwZCS
The text was updated successfully, but these errors were encountered: