Closed cosrnic closed 10 months ago
When using Player.setSkin(), the player would get a "loading terrain" screen for a while, this pr fixes that by sending ChangeGameStatePacket(ChangeGameStatePacket.Reason.LEVEL_CHUNKS_LOAD_START, 0) after the respawn packet.
Player.setSkin()
ChangeGameStatePacket(ChangeGameStatePacket.Reason.LEVEL_CHUNKS_LOAD_START, 0)
This is fixed in https://github.com/hollow-cube/minestom-ce/commit/e7b0e702f69f6c47a37c190ec260dc21bc8d06ee, but I did it inside refreshClientStateAfterRespawn to handle the other case that method is used.
When using
Player.setSkin()
, the player would get a "loading terrain" screen for a while, this pr fixes that by sendingChangeGameStatePacket(ChangeGameStatePacket.Reason.LEVEL_CHUNKS_LOAD_START, 0)
after the respawn packet.