From a85ecdad0834d3398ed2cbbb3de3c6b4f4a3e62c Mon Sep 17 00:00:00 2001 From: Pepich Date: Sun, 5 Feb 2017 16:40:09 +0100 Subject: [PATCH] sendErrorMessage no longer logs to console. Use Utils.error instead. --- src/com/redstoner/misc/Utils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/com/redstoner/misc/Utils.java b/src/com/redstoner/misc/Utils.java index 71013c2..8973b86 100644 --- a/src/com/redstoner/misc/Utils.java +++ b/src/com/redstoner/misc/Utils.java @@ -13,7 +13,7 @@ import net.md_5.bungee.api.ChatColor; /** The utils class containing utility functions. Those include but are not limited to sending formatted messages, broadcasts and more. * * @author Pepich */ -@Version(major = 1, minor = 1, revision = 7, compatible = 1) +@Version(major = 1, minor = 1, revision = 8, compatible = 1) public final class Utils { /** Hidden constructor. Do not instantiate UTILS classes! :) */ @@ -46,8 +46,6 @@ public final class Utils if (prefix == null) prefix = "§8[§c" + getCaller() + "§8]: "; recipient.sendMessage(prefix + "§7" + message); - if (!recipient.equals(Bukkit.getConsoleSender())) - Bukkit.getConsoleSender().sendMessage("§c[WARN]: " + prefix + "§7" + message); } /** Invokes sendMessage. This method will additionally translate alternate color codes for you.