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
Crashes Game when dying to void in different dimensions #1
Comments
Hmm, I'm having trouble reproducing this (though I can see in the code where the bug is, and that it is a bug). I'd like to be able to reproduce this so I can know I've fixed it. Could you explain to me the steps you're taking to trigger this crash? |
@DieFetteBrxnette Please get back to me on how to reproduce this issue, but also in the meantime if you could test this build of the mod and tell me if the issue is resolved I would greatly appreciate it. |
I can't seem to reproduce this issue with just the mod again. (I thought I had tested it with just the mod, oops), so it's probably an incompatibility with another mod, sorry that I assumed it was only caused by this mod, but perhaps you could just add a simple return statement, if the killer is null? I also am not really able to figure out, what mod is incomatible with yours, sorry for that. Greate mod tho. |
What other mods are you using? |
I made a small modpack for myself with about 190 jar files, loaded it gets to 310 mods. I have some mods in my mind that might cause the issue and I wanted to test them later. |
Oh wait I'm able to reproduce it. I thought the issue was babies being killed by the void, but really it's players being killed by the void. Should be an easy fix! |
Thank you for reporting this! |
It seems like you didn't put in a handle for deaths caused by the void (tested in the Overworld, but also in non vanilla scenarios i.e. the Eden Ring Mod), the killer is null and it produces the following exception, which crashes the game:
The game crashed whilst ticking player
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1309.method_5864()" because "killer" is null
caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1309.method_5864()" because "killer" is null
at net.minecraft.class_3222.handler$zml000$trackBabiesKilled(class_3222.java:4270) ~[client-intermediary.jar:?]
I hope you can fix this issue, because I really like this mod idea :)
Best Whishes
Paul
The text was updated successfully, but these errors were encountered: