Hey all. I'm currently trying to make it where the player gets put in spectator mode on death. I have it where if the damage is greater than the players health, it puts them in spectator mode using EntityDamageEvent. However, the problem with this is that it doesn't actually register the player as a kill for my game mode. The reason I want them to be put in spectator mode when they die is so when they respawn, they don't have to reload chunks entirely. Is there a better way of going about this?