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:
@@ -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"));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user