From 4246e6c9007d3826a41ee1bc0b5b2211565e3aca Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 9 Apr 2013 23:41:02 -0400 Subject: [PATCH] Use char codes instead of symbols, just to be safe. --- src/main/java/com/gmail/nossr50/listeners/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java index 4af330f3c..233c32696 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -64,7 +64,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}", "a mob"); + deathMessage.replaceAll("(?:\\u00A7(?:[0-9A-FK-ORa-fk-or]){1}(?:[\\u2764\\u25A0]{1,10})){1,2}", "a mob"); event.setDeathMessage(deathMessage); }