Removed strip non-digits from chat message.

Fixes and closes #82
This commit is contained in:
Kai committed 2016-09-04 14:32:29 +02:00
1 parent 8ad8c54808
commit b60147537b
1 file changed
+1 -1
@@ -254,7 +254,7 @@ public class ShopManager {
}
public void handleChat(final Player p, String msg) {
final String message = ChatColor.stripColor(msg).replaceAll("[^\\d]+", "");
final String message = ChatColor.stripColor(msg);
// Use from the main thread, because Bukkit hates life
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
@SuppressWarnings("deprecation")