summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-18 04:42:10 +0200
committersnowleo <schneeleo@gmail.com>2011-07-18 04:42:10 +0200
commit277c623a77083890f24d94e9cff639d78d15ecb3 (patch)
treee8c2d2a3847c633b66304864d9bbb9e2309a958d
parente37db99c564fe35f0d0e2492fdaf1c56fbc87663 (diff)
downloadEssentials-277c623a77083890f24d94e9cff639d78d15ecb3.tar
Essentials-277c623a77083890f24d94e9cff639d78d15ecb3.tar.gz
Essentials-277c623a77083890f24d94e9cff639d78d15ecb3.tar.lz
Essentials-277c623a77083890f24d94e9cff639d78d15ecb3.tar.xz
Essentials-277c623a77083890f24d94e9cff639d78d15ecb3.zip
Missing return in /time reset command
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtime.java1
1 files changed, 1 insertions, 0 deletions
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"));
}