dying at world hight crashes server/client
S0apyy opened this issue · 6 comments
Dying at world height crashes the server
Forgotten Graves Version
1.20.1 3.1.0
To Reproduce
- enter server with the mod installed
- build a platform at world height
- die
Expected behavior
To not crash the server or try to spawn a grave where it cant
Additional context
This has happened a lot of times where a grave spawns somewhere where it can't and then proceeds to crash the server, due to either a grave trying to spawn in another grave or trying to spawn at world height. i would like the mod to check for this so it can't happen under any circumstance. after the server crashes there is also no log of any grave being tried to be spawned (no trace of a new grave in the /graves list command) and players just lose their items without any way to get it back.
You could also test this with the modpack i use for my server called nybblecraft if theres any conflict with mods i have installed on it, its on modrinth
Thanks for the report; I'll look into this -- the code already checks if it can spawn and iterates to find a suitable position if it cannot so this definitely shouldn't be happening. 🤔
I can't seem to replicate this in my test world.
- Is it generating a crash report of any kind (found in the crash-reports folder, same parent folder as the logs folder)?
- What does your config file look like? Perhaps there's a config option that's causing the issue?
- Do you have any other mods installed that might be causing a conflict or issue?
Yeah heres the crash report from the server i run, and this issue could be serverside only
crash-2023-09-02_14.38.15-server.txt
ill also drop my config in here to see if theres anything wrong with that
forgottengraves.txt