DreamLand

DreamLand

46.5k Downloads

Load health after logout/login

cam72cam opened this issue ยท 5 comments

commented

how can we efficiently load the health after a player logout (sent back to normal world) and then logged in. Do we want to do player login events from a file?

commented

You mean like when someone gets Teleported to the normal world, they restore the old health or what?

commented

yup, if you get hurt in a dream, you get hurt in real life. we need to restore their health after the dream

commented

I see you created the function leaveDream() doesn't that already work?

commented

It should work, but the health has to be restored after the tp tick (notch or bukkit issue)

commented

Fixed