diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java index 6c8aa5b9f..ecf8c87c3 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java @@ -225,6 +225,10 @@ public class MinecraftConnection extends ChannelInboundHandlerAdapter { } } + public void close() { + close(true); + } + /** * Immediately closes the connection. * @param markKnown whether the disconnection is known