From c8e42121eae9ac726ab01be94723794b1e04c6a3 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Thu, 11 Aug 2016 18:40:26 +0200 Subject: [PATCH] add doc for client.end, closes #424 --- doc/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/README.md b/doc/README.md index 5ef9dd3..bb0aefe 100644 --- a/doc/README.md +++ b/doc/README.md @@ -86,6 +86,10 @@ Takes a minecraft `version` as second argument. write a packet +### client.end(reason) + +ends the connection with `reason` + ### client.state The internal state that is used to figure out which protocol state we are in during