From 277c623a77083890f24d94e9cff639d78d15ecb3 Mon Sep 17 00:00:00 2001 From: snowleo Date: Mon, 18 Jul 2011 04:42:10 +0200 Subject: [PATCH] Missing return in /time reset command --- Essentials/src/com/earth2me/essentials/commands/Commandtime.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtime.java b/Essentials/src/com/earth2me/essentials/commands/Commandtime.java index d05f8890c..8ea14ae77 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtime.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtime.java @@ -106,6 +106,7 @@ public class Commandtime extends EssentialsCommand if ("reset".equalsIgnoreCase(timeString)) { user.resetPlayerTime(); + return; } throw new Exception(Util.i18n("onlyDayNight")); }