From 8fe86c8901fed7b6b6f16ee818da8cd57c07d89b Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 2 Feb 2017 21:14:06 +0100 Subject: [PATCH] Fixed errors using the wrong method --- src/com/redstoner/modules/check/Check.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/redstoner/modules/check/Check.java b/src/com/redstoner/modules/check/Check.java index 43e5ac5..d0ccefb 100644 --- a/src/com/redstoner/modules/check/Check.java +++ b/src/com/redstoner/modules/check/Check.java @@ -31,7 +31,7 @@ import com.redstoner.misc.mysql.elements.MysqlDatabase; import com.redstoner.misc.mysql.elements.MysqlTable; import com.redstoner.modules.Module; -@Version(major = 1, minor = 0, revision = 3, compatible = 1) +@Version(major = 1, minor = 0, revision = 4, compatible = 1) public class Check implements Module, Listener { private boolean enabled = false; @@ -43,7 +43,7 @@ public class Check implements Module, Listener Map config = JSONManager.getConfiguration("check.json"); if (config == null || !config.containsKey("database") || !config.containsKey("table")) { - Utils.sendErrorMessage(Bukkit.getConsoleSender(), null, "Could not load the Check config file, disabling!"); + Utils.error("Could not load the Check config file, disabling!"); enabled = false; return; } @@ -54,7 +54,7 @@ public class Check implements Module, Listener } catch (NullPointerException e) { - Utils.sendErrorMessage(Bukkit.getConsoleSender(), null, "Could not use the Check config, disabling!"); + Utils.error("Could not use the Check config, disabling!"); enabled = false; return; }