1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

Missing return in /time reset command

This commit is contained in:
snowleo
2011-07-18 04:42:10 +02:00
parent c68f0d2e0c
commit ba7a447259

View File

@@ -106,6 +106,7 @@ public class Commandtime extends EssentialsCommand
if ("reset".equalsIgnoreCase(timeString)) if ("reset".equalsIgnoreCase(timeString))
{ {
user.resetPlayerTime(); user.resetPlayerTime();
return;
} }
throw new Exception(Util.i18n("onlyDayNight")); throw new Exception(Util.i18n("onlyDayNight"));
} }