mirror of
https://github.com/kaboomserver/extras.git
synced 2024-11-23 07:57:58 -05:00
Use adventure for death messages (#329)
This commit is contained in:
parent
4a917201b4
commit
baddda61aa
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public final class PlayerDamage implements Listener {
|
|||
final Player player = event.getEntity();
|
||||
|
||||
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
|
||||
onlinePlayer.sendMessage(event.getDeathMessage());
|
||||
onlinePlayer.sendMessage(event.deathMessage());
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue