From 4e66ea9e48406681cc3b695dee9e33ed662466e6 Mon Sep 17 00:00:00 2001 From: Pepich Date: Tue, 7 Feb 2017 00:26:01 +0100 Subject: [PATCH] Added @SuppressWarnings to unused variable cause the warning annoyed me --- src/com/redstoner/modules/misc/Misc.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/redstoner/modules/misc/Misc.java b/src/com/redstoner/modules/misc/Misc.java index 84820bf..fba5792 100644 --- a/src/com/redstoner/modules/misc/Misc.java +++ b/src/com/redstoner/modules/misc/Misc.java @@ -19,7 +19,7 @@ import com.redstoner.misc.Utils; import com.redstoner.modules.Module; @AutoRegisterListener -@Version(major = 1, minor = 0, revision = 1, compatible = 1) +@Version(major = 1, minor = 0, revision = 2, compatible = 1) public class Misc implements Module, Listener { private boolean enabled = false; @@ -106,6 +106,8 @@ public class Misc implements Module, Listener @Command(hook = "tempadd") public boolean tempAdd(CommandSender sender, String user, String group, String duration) { + // Use it to make a proper duration output later. Too lazy rn. + @SuppressWarnings("unused") int i = 0; try {