mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01:00
Add static to Query stop and isStarted methods (#1867)
This commit is contained in:
parent
9b15acf4fa
commit
954e8b3915
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user