mirror of
https://github.com/kaboomserver/extras.git
synced 2024-10-31 16:59:24 +00:00
Use adventure for death messages (#329)
This commit is contained in:
parent
4a917201b4
commit
baddda61aa
|
@ -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