Hi Red,
When a player is dead, and seeing the respawn screen. The Players State as retrieved from player.getState() comes back as State.Default and not as State.Dead
Hi Red,
When a player is dead, and seeing the respawn screen. The Players State as retrieved from player.getState() comes back as State.Default and not as State.Dead
Thanks for letting me know! The problem is that the server no longer processes any player sync packets while the player is dead (and doesn't update the state anymore)... we will change that with the next update, so the state will be set properly
But in the meantime you can check if the player is dead via Player.isDead()
Don’t have an account yet? Create a new account now and be part of our community!