Separate names with a comma.
Comments in 'Plugin Development' started by Xenturio, Nov 13, 2014.
^^" Hey Xenturio. Hatte dasselbe Problem auch gerade in meinem Minigame
Had the same problem in my minigame too, this helped me alot! Thanks! ^^
SetRespawnPosizion doesn't work for me because chunks don't load after that so i use setSpawn() instead
I just can confirm, i start bugging and the world doesn't load if i use this method.
setSpawn will work? Won't it set the spawn forever?
yes but i didn't find another way but i use it in minigames so maybe here is setRespawnPosition needed
I'll try to use setRespawnPosition, and then teleport to the same position.
hm but i dont know why. In pocketmine source code is respawn position automatically Position object. So if setSpawn() works so setRespawnPosition() should work too :/
Didn't work. I created a task now, which teleports the player to the world after 1 tick.
pocketmine\event\entity\EntityTeleportEvent is called on respawn (Maby... ^_^)