From 954e8b391563041080f5b1be3928d9c5fddde9ae Mon Sep 17 00:00:00 2001 From: Hydrogen <96733109+dev-hydrogen@users.noreply.github.com> Date: Sun, 4 Jun 2023 14:58:34 +0300 Subject: [PATCH] Add static to Query stop and isStarted methods (#1867) --- src/main/java/net/minestom/server/extras/query/Query.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minestom/server/extras/query/Query.java b/src/main/java/net/minestom/server/extras/query/Query.java index 90e0b3e77..34087ced1 100644 --- a/src/main/java/net/minestom/server/extras/query/Query.java +++ b/src/main/java/net/minestom/server/extras/query/Query.java @@ -95,7 +95,7 @@ public class Query { * * @return {@code true} if the query system was stopped, {@code false} if it was not running */ - public boolean stop() { + public static boolean stop() { if (!started) { return false; } else { @@ -118,7 +118,7 @@ public class Query { * * @return {@code true} if it has been started, {@code false} otherwise */ - public boolean isStarted() { + public static boolean isStarted() { return started; }