Get bed location

So, i’m just trying to get the bed location IF the player has a bed respawn location, but i can’t figure out how to do it, Keys.RESPAWN_LOCATIONS returns an empty Optional

You have the right key. There was a issue a while ago on the github issues board where the bed location wasnt set, can not find it so it maybe fixed. What version of sponge are you using?

The latest (1.12.2-2838-7.1.7-RC3909)

It maybe that while they are moving all the mixins around in 1.12.2, they missed off this.

If you post a issue in the sponges github page. They should find it and fix it