Restore compatibility with TCPShield plugin with recent change

This commit is contained in:
Andrew Steinborn
2020-06-24 00:07:27 -04:00
parent 780e1c8be5
commit 283d8d71b6

View File

@@ -225,6 +225,10 @@ public class MinecraftConnection extends ChannelInboundHandlerAdapter {
} }
} }
public void close() {
close(true);
}
/** /**
* Immediately closes the connection. * Immediately closes the connection.
* @param markKnown whether the disconnection is known * @param markKnown whether the disconnection is known