diff options
Diffstat (limited to 'src/main/java/world')
| -rw-r--r-- | src/main/java/world/anhgelus/manhunt/Manhunt.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/world/anhgelus/manhunt/Manhunt.java b/src/main/java/world/anhgelus/manhunt/Manhunt.java index b6f2b2d..3ababfd 100644 --- a/src/main/java/world/anhgelus/manhunt/Manhunt.java +++ b/src/main/java/world/anhgelus/manhunt/Manhunt.java @@ -166,6 +166,7 @@ public class Manhunt implements ModInitializer { final LiteralArgumentBuilder<ServerCommandSource> resetTimer = literal("reset-timer");
resetTimer.requires(source -> source.hasPermissionLevel(2));
resetTimer.executes(context -> {
+ state = State.ON;
setTimer(context.getSource().getServer().getPlayerManager());
context.getSource().sendFeedback(() -> Text.literal("Timer reset"), true);
return Command.SINGLE_SUCCESS;
|
