[BUG] Incompatibility with Relics' Magic Mirror item
Not-February opened this issue ยท 7 comments
Describe the bug
The Magic Mirror from the Relics mod does not function with Respawn Obelisks installed.
To Reproduce
Steps to reproduce the behavior:
- Have both Respawn Obelisks and Relics installed
- Set your respawn point with a Respawn Obelisk
- Use Magic Mirror
- Nothing happens
Expected behavior
The Magic Mirror is supposed to bring you back to your spawn point when used within a specified allowed radius, but doesn't. I personally wonder if it is for similar reasons to AstralOrdana/Spelunkery#86 but don't really know for sure, since I don't know how to check that for myself.
As a comparison point, setting one's spawnpoint manually with the /spawnpoint command allows the mirror to work as expected.
Versions
- Respawn Obelisk 2.4-b
- Forge Version 47.2.0
- Minecraft 1.20.1
Yes, this is unfortunately(but in some ways, fortunately?) caused by the same thing as the spelunkery bug. I have to rethink the way I evaluate the player's spawn, and I have some ideas to do so, but I need to see if they have any unwanted side effects first.
yep, same issue with all of these. Will be fixed next [major] update(2.5), although that requires me to find a good fix first...
I'd like to add that this takes the form of a third issue with Enigmatic Legacy.
It has an item called the Scroll of Postmortal Recall, which returns your inventory to your spawnpoint upon death.
This feature is not compatible with Respawn Obelisks.
The method that it uses (to calculate spawn position based on the block at the set spawn) doesn't provide the player, despite being accessible in the only place it's used.
TBH, I think this was a mistake, but it doesn't really matter for vanilla anyways. (Basically the method is inside the Player class, yet is static- I believe the intention was for it to be non-static but it didn't really matter for vanilla)
So somehow, I need to store the player currently respawning(that also works with other mods!) in a sensible manner that works in multiplayer.