Add static to Query stop and isStarted methods (Minestom/Minestom#1867)

(cherry picked from commit 954e8b3915)
This commit is contained in:
Hydrogen 2023-06-04 14:58:34 +03:00 committed by mworzala
parent 315a97d677
commit 80a4577940
No known key found for this signature in database
GPG Key ID: B148F922E64797C7

View File

@ -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;
}