Class PlayerDeathListener
java.lang.Object
me.lokka30.levelledmobs.listeners.PlayerDeathListener
- All Implemented Interfaces:
org.bukkit.event.Listener
Listens for when a player dies
- Since:
- 2.6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPlayerDeath
(@NotNull org.bukkit.event.entity.PlayerDeathEvent event) This listener handles death nametags so we can determine which mob killed it and update the death message accordingly
-
Constructor Details
-
PlayerDeathListener
-
-
Method Details
-
onPlayerDeath
public void onPlayerDeath(@NotNull @NotNull org.bukkit.event.entity.PlayerDeathEvent event) This listener handles death nametags so we can determine which mob killed it and update the death message accordingly- Parameters:
event
- PlayerDeathEvent
-