CommandHelper

CommandHelper

46.5k Downloads

Player_Spawn broken??

ElticSemar opened this issue ยท 0 comments

commented

I made script for my SkyBlock - when player dies it save his hunger level and restore it after respawn. I make it about 2 or 3 weeks ago and everything was working. But now (don't know exact date), after few updates of CH (also server and other plugins) it stopped working.

Now when player dies, he respawn correctly (Spawns are set by Multiverse-Core, works fine (players respawn on correct world (for excample - when they die in skyworld, they spawn on skyspawn, not on normal world spawn)), but it doesn't restore hunger level. Script is made to work only, when respawn world is called 'skyworld'. After some updates, CH started to see only default world as spawn place (coordinates or info given by this event data are correct to real spawn, but player is in different place at respawn (place of respawn is correct)). When player dies on skyworld, he respawn on skyspawn, but CH is sending info that he spawned at default world.

//After downgrading serwer to point where it was working i started to upgrade, after upgrade server to that same point it start working again... cant tell with what the problem was