Skip to content

Commit

Permalink
Slight syntax change
Browse files Browse the repository at this point in the history
  • Loading branch information
Asleeepp committed Jun 28, 2024
1 parent 8295cb9 commit 936f566
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@Description("Represents the ticking state of the server, for example, if the server is frozen, or running normally.")
@Examples({
"if server's tick state is currently frozen:",
"if server tick state is normal:"
"if the server is sprinting:"
})
@Since("INSERT VERSION")
@RequiredPlugins("Minecraft 1.20.4+")
Expand All @@ -49,8 +49,8 @@ public class CondServerTickState extends Condition {
static {
if (ServerUtils.isServerTickManagerPresent())
Skript.registerCondition(CondServerTickState.class,
"[the] server['s] tick[ing] state is [currently] (:frozen|:stepping|:sprinting|:normal)",
"[the] server['s] tick[ing] state is(n't| not) [currently] (:frozen|:stepping|:sprinting|:normal)");
"[the] server['s tick[ing] state] is [currently] (:frozen|:stepping|:sprinting|:normal)",
"[the] server['s tick[ing] state] is(n't| not) [currently] (:frozen|:stepping|:sprinting|:normal)");
}

private ServerState state;
Expand Down

0 comments on commit 936f566

Please sign in to comment.