From 69e935e4ddeec0f73c5f45e9c675c7e904120876 Mon Sep 17 00:00:00 2001 From: Rems19 Date: Fri, 7 Aug 2020 07:20:15 +0200 Subject: [PATCH] Fix removePlayer in ConnectionManager --- .../java/net/minestom/server/network/ConnectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/network/ConnectionManager.java b/src/main/java/net/minestom/server/network/ConnectionManager.java index 8e6ab1846..03cc3f2f1 100644 --- a/src/main/java/net/minestom/server/network/ConnectionManager.java +++ b/src/main/java/net/minestom/server/network/ConnectionManager.java @@ -247,6 +247,6 @@ public final class ConnectionManager { return; this.players.remove(player); - this.connectionPlayerMap.remove(player); + this.connectionPlayerMap.remove(connection); } }