Skip to content

Commit

Permalink
Added the death message in the death highlight in the console.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryCarrade committed Oct 28, 2014
1 parent 99b7c46 commit d3307e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void run() {
}

// Highlights the death message in the console
p.getServer().getConsoleSender().sendMessage(ChatColor.GOLD + "-- Death of " + ev.getEntity().getDisplayName() + ChatColor.GOLD + " --");
p.getServer().getConsoleSender().sendMessage(ChatColor.GOLD + "-- Death of " + ev.getEntity().getDisplayName() + ChatColor.GOLD + " (" + ev.getDeathMessage() + ") --");

// Customizes the death message
ev.setDeathMessage(ChatColor.translateAlternateColorCodes('&', p.getConfig().getString("death.messages.deathMessagesFormat", "")) + ev.getDeathMessage());
Expand Down

0 comments on commit d3307e6

Please sign in to comment.