mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
No need to reset.
This commit is contained in:
parent
dc0800e7e1
commit
7d6eb65776
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user