kill() is not recognised as a form of damage to player_death's "cause"
LadyCailinBot opened this issue ยท 1 comments
CMDHELPER-2759 - Reported by Tom028
Since 1501-2a289e6 changed "cause" in player_death from a string to an array with more information it has stopped recognising death by the kill() api. Prior to the change when using kill() the cause would show as "CUSTOM"; now however the cause is whatever last damaged the player or empty if the player has not been damaged since they logged in.
Comment by LadyCailin
Ok. In the next version, I've set the cause to be the player hurting themselves (with CUSTOM damage type) as the reason. I can't find a better way to do it, so that will have to suffice for now. Regardless, the CUSTOM damage type will be set correctly, so if that's what you're depending on, that should be there now.