
No grave generated if stuck in nether portal loop
theboo opened this issue · 7 comments
So this is something i tried to reproduce when we were testing the mod pre-release but was never able to.
If you get stuck in a nether portal loop(vanilla issue usually due to lag or bad connection) you will eventually die of suffocation, but no grave will be generated, assuming because there is no location. Since no grave is generated, there is no restore command available either. Attached latest.log of it happening to someone, but we have had a few reports.
This is a relatively common issue with grave mods, some will end up placing the grave at the nether portal nether coords but in the overworld and vice-versa, some end up not placing at all as we have here.
would it be possible to make it so the inventory is saved for restore whether the grave is placed or not? Might help mitigate server admin headache if other "no place" scenarios are found
Recieved the same issue yesterday. One of my players got stuck in such a loop and their grave was nowhere to be found. Luckily dev was smart and put a restore command in!
This is a tough one because I can't reproduce it. It could've been fixed with one of the previous patches, so if the issue persist with 1.7.3 or above, please reopen this issue and give details about the loop. I killed myself in the portal and that was fine, I would need more info on what the "nether portal loop" is
In the very worst case scenario the grave will still be placed inside of a block if necessary, so this isnt the issue.
But the grave not spawning is a problem. I've added more information logging in v1.4.2 which should hopefully help track down where the mod breaks. I cannot find any reasons why this should happen in code as of right now.
This was on a server, it's just really hard to reproduce getting stuck in a nether portal loop... If i get a report of it happening again with the new logging, I'll throw it here