No need to reset.

This commit is contained in:
GJ 2013-04-08 00:11:09 -04:00
parent dc0800e7e1
commit 7d6eb65776

View File

@ -62,7 +62,7 @@ public class PlayerListener implements Listener {
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onPlayerDeathHighest(PlayerDeathEvent event) {
String deathMessage = event.getDeathMessage();
deathMessage.replaceAll("(?:\\u00A7(?:[1-9a-fklmnor]){1}(?:[❤■]{1,10})){1,2}", ChatColor.RESET + "a mob");
deathMessage.replaceAll("(?:\\u00A7(?:[1-9a-fklmnor]){1}(?:[❤■]{1,10})){1,2}", "a mob");
event.setDeathMessage(deathMessage);
}