mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 21:22:09 +00:00
Missing return in /time reset command
This commit is contained in:
parent
e37db99c56
commit
277c623a77
1 changed files with 1 additions and 0 deletions
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue