Use adventure for death messages (#329)

This commit is contained in:
Chip 2022-11-18 14:09:55 +00:00 committed by GitHub
parent 4a917201b4
commit baddda61aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {