From 3851c60306f37a0ab6dd4a1a3632906083383b7e Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 2 Feb 2017 20:37:52 +0100 Subject: [PATCH] Implemented onDisable() method --- src/com/redstoner/modules/check/Check.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/com/redstoner/modules/check/Check.java b/src/com/redstoner/modules/check/Check.java index e52448e..43e5ac5 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 = 2, compatible = 1) +@Version(major = 1, minor = 0, revision = 3, compatible = 1) public class Check implements Module, Listener { private boolean enabled = false; @@ -244,4 +244,10 @@ public class Check implements Module, Listener "}"; } // @format + + @Override + public void onDisable() + { + enabled = false; + } }