mojira.dev
MC-271861

/spwanpoint doesn't work on command blocks

When you type spawnpoint @p in a command block, and than activate it, it will show that spawnpoint was set, but when you die, you respawn in the world spawn.

What was supposed to happen:
Set player's spawn point to his actual position.

How to reproduce it:
Put the command block somewhere, set it's command to "spawnpoint @p" or "spawnpoint @a", than activate it using any redstone signal.

Linked issues

Attachments

Comments 2

You cannot respawn inside of a block, and by default the /spawnpoint command uses the coordinates where the command is executed, in this case inside of the command block. See MC-130717.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Urman0

(Unassigned)

Unconfirmed

(Unassigned)

24w19b

Retrieved