From 3712fa1851bfb471d61ea145f596177ea70b41a4 Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 2 Feb 2017 20:37:23 +0100 Subject: [PATCH] Removed default onEnable/onDisable implementations --- src/com/redstoner/modules/Module.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/com/redstoner/modules/Module.java b/src/com/redstoner/modules/Module.java index cdc55b0..3ffba42 100644 --- a/src/com/redstoner/modules/Module.java +++ b/src/com/redstoner/modules/Module.java @@ -5,16 +5,14 @@ import com.redstoner.annotations.Version; /** Interface for the Module class. Modules must always have an empty constructor to be invoked by the ModuleLoader. * * @author Pepich */ -@Version(major = 1, minor = 1, revision = 0, compatible = 1) +@Version(major = 1, minor = 1, revision = 1, compatible = 1) public interface Module { /** Will be called when the module gets enabled. */ - public default void onEnable() - {} + public void onEnable(); /** Will be called when the module gets disabled. */ - public default void onDisable() - {} + public void onDisable(); /** Will be called to check if a module is enabled or not. *