From 3b8ed1df32cfa8f0bee6f747572cdc85b3810e4c Mon Sep 17 00:00:00 2001 From: TheMode Date: Tue, 13 Apr 2021 02:21:03 +0200 Subject: [PATCH] Add api status annotations --- .../java/net/minestom/server/terminal/MinestomTerminal.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/minestom/server/terminal/MinestomTerminal.java b/src/main/java/net/minestom/server/terminal/MinestomTerminal.java index 69c4b680a..b0123f899 100644 --- a/src/main/java/net/minestom/server/terminal/MinestomTerminal.java +++ b/src/main/java/net/minestom/server/terminal/MinestomTerminal.java @@ -2,6 +2,7 @@ package net.minestom.server.terminal; import net.minestom.server.MinecraftServer; import net.minestom.server.command.CommandManager; +import org.jetbrains.annotations.ApiStatus; import org.jline.reader.EndOfFileException; import org.jline.reader.LineReader; import org.jline.reader.LineReaderBuilder; @@ -18,6 +19,7 @@ public class MinestomTerminal { private static volatile boolean running = false; + @ApiStatus.Internal public static void start() { Terminal terminal = null; try { @@ -42,6 +44,7 @@ public class MinestomTerminal { } } + @ApiStatus.Internal public static void stop() { running = false; }