Closed Amunak closed 9 years ago
This problem cannot happens for the initial teleportation, because players are teleported 120 blocks up of the surface.
The respawn mecanism is left vanilla excepted before the start of the game, where the players are teleported to the exact world's spawn point (player.teleport(world.getSpawnLocation())
).
The problem is here? Just a confirmation.
Yes, the problem is there; I managed to spawn in the ground several times before I figured out why. Just moving the spawn location fixes it, but I think that if you are unlucky with seed you can just randomly end up in ground. It's a minor issue.
Happens with /uh respawn
too I believe.
Yes, the problem is there; I managed to spawn in the ground several times before I figured out why. Just moving the spawn location fixes it, but I think that if you are unlucky with seed you can just randomly end up in ground. It's a minor issue.
I always set the spawn point to 0,0 before my matches, so I never had this bug for other players than me. This said, I already spawned in the ground initially, before teleporting myself to 0;100;0 and setting the spawn here, after the fall.
Happens with
/uh respawn
too I believe.
This command does not exists. I don't understand.
Happens with
/uh respawn
too I believe.This command does not exists. I don't understand.
Oh, sorry, I mean /uh resurrect
.
And yes, it only happened to me while testing the plugin, but it's slightly annoying anyway ;)
You mean /uh tpback
I think.
For this command there is a safe spot detection, so no, this bug will not occurs with this command. I can use the exact same method to fix this bug, so it will be pretty fast to fix I think.
When the Minecraft world spawn is set in ground the game never lets you actually spawn in ground but has some (somewhat weird) rules on where to spawn you. What you do is when you respawn people they can actually be stuck inside terrain and suffocating, which is bad.
I wouldn't advise using Minecraft's system, but please make sure you are not suffocating anyone when you are spawning them.