Not allowing to respawn player in 1.12 with sponge.
Raycoms opened this issue ยท 7 comments
Newest spongeforge version with newest comfort version with best forge for that spongeforge
https://cdn.discordapp.com/attachments/372264384690388992/381436589601062914/image.png
I've successfully replicated the bug. I'll see what I can do, this is my first time working with SpongeForge so it might take a while.
@TheIllusiveC4 If you are going to be debugging in a SpongeForge environment and use IntelliJ I highly recommend installing https://github.com/minecraft-dev/MinecraftDev It provides debugging support for mixins that would otherwise be painful. We absolutely appreciate any help that mod authors are willing to put in.
@ryantheleach Thank you for informing me of that, I was unaware.
I'm pushing out a new update on CurseForge, version 1.0.0.2, that should address this issue. I added a simple null check in the appropriate method that should stop this problem from happening.
@TheIllusiveC4 Is the forge event for setSpawn non nullable or is null allowed? If it's non-nullable I'll edit the ticket on SpongeCommon to fix it
@ryantheleach Null is allowed as far as I'm aware, it's just that Forge never passes a null argument for the event so I never encountered this problem in a solely Forge environment.