I was fighting the ender dragon and died. Upset from dying, I went into creative and used
/setblock to set an ender portal, so I teleported to the end.
However, when I did that command, I was right next to my bed so when I beat the dragon and went back to the overworld, I spawned on top of the
end_portal next to my bed and instantly get teleported back into the end. I'm on version 1.12.2 and I've tried the
/execute command but it tells me
entity 'in' cannot be found. What should I do?