How to get the victim from the event weaponDamageEvent?
The hitGlobalId is the entity that hit but if it a player and the attacker’s weapon isn’t unarmed the hitGlobalId is 0
How to get the victim from the event weaponDamageEvent?
The hitGlobalId is the entity that hit but if it a player and the attacker’s weapon isn’t unarmed the hitGlobalId is 0