mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
Much better console interaction. History, no more losing the command, colours, inline editing, etc. Shorter log output to console (but not to file).
This commit is contained in:
@@ -9,6 +9,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import jline.ConsoleReader;
|
||||
import net.minecraft.server.ChunkCoordinates;
|
||||
import net.minecraft.server.ConvertProgressUpdater;
|
||||
import net.minecraft.server.Convertable;
|
||||
@@ -276,4 +277,8 @@ public final class CraftServer implements Server {
|
||||
public Logger getLogger() {
|
||||
return MinecraftServer.a;
|
||||
}
|
||||
|
||||
public ConsoleReader getReader() {
|
||||
return console.reader;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user