mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-09 20:30:08 +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
|
||||
*/
|
||||
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