From 7e232a4115c74dc9711a3f2da7124200109b39d6 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 11 Jun 2023 13:15:11 +0700 Subject: [PATCH] titties --- src/main/java/land/chipmunk/chipmunkmod/modules/Players.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/land/chipmunk/chipmunkmod/modules/Players.java b/src/main/java/land/chipmunk/chipmunkmod/modules/Players.java index 369dfe8..8116c8b 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/modules/Players.java +++ b/src/main/java/land/chipmunk/chipmunkmod/modules/Players.java @@ -179,10 +179,11 @@ public class Players extends Listener { return packet; } - removeFromPlayerList(uuid); - list.remove(target); + // TODO: fix players using /username gone from the player list, the cause is exactly at the next line and it's because uuid i guess + removeFromPlayerList(uuid); + return packet; }); } catch (Exception e) {