mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-21 23:51:36 +01:00
Add static to Query stop and isStarted methods (Minestom/Minestom#1867)
(cherry picked from commit 954e8b3915
)
This commit is contained in:
parent
315a97d677
commit
80a4577940
@ -95,7 +95,7 @@ public class Query {
|
|||||||
*
|
*
|
||||||
* @return {@code true} if the query system was stopped, {@code false} if it was not running
|
* @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) {
|
if (!started) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
@ -118,7 +118,7 @@ public class Query {
|
|||||||
*
|
*
|
||||||
* @return {@code true} if it has been started, {@code false} otherwise
|
* @return {@code true} if it has been started, {@code false} otherwise
|
||||||
*/
|
*/
|
||||||
public boolean isStarted() {
|
public static boolean isStarted() {
|
||||||
return started;
|
return started;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user