I was modifying the death messages when a player is killed in any case (by another player, entity or crash) and i have seen that the event.getEntity().getKiller(); it only returns if it is a player and null if it is not clearly, seeing in forums some use the EntityDamageByEntityEvent and check...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.