mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-15 15:16:46 +01:00
Add api status annotations
This commit is contained in:
parent
56439a2330
commit
3b8ed1df32
@ -2,6 +2,7 @@ package net.minestom.server.terminal;
|
|||||||
|
|
||||||
import net.minestom.server.MinecraftServer;
|
import net.minestom.server.MinecraftServer;
|
||||||
import net.minestom.server.command.CommandManager;
|
import net.minestom.server.command.CommandManager;
|
||||||
|
import org.jetbrains.annotations.ApiStatus;
|
||||||
import org.jline.reader.EndOfFileException;
|
import org.jline.reader.EndOfFileException;
|
||||||
import org.jline.reader.LineReader;
|
import org.jline.reader.LineReader;
|
||||||
import org.jline.reader.LineReaderBuilder;
|
import org.jline.reader.LineReaderBuilder;
|
||||||
@ -18,6 +19,7 @@ public class MinestomTerminal {
|
|||||||
|
|
||||||
private static volatile boolean running = false;
|
private static volatile boolean running = false;
|
||||||
|
|
||||||
|
@ApiStatus.Internal
|
||||||
public static void start() {
|
public static void start() {
|
||||||
Terminal terminal = null;
|
Terminal terminal = null;
|
||||||
try {
|
try {
|
||||||
@ -42,6 +44,7 @@ public class MinestomTerminal {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiStatus.Internal
|
||||||
public static void stop() {
|
public static void stop() {
|
||||||
running = false;
|
running = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user