Clear tab list on server change

This commit is contained in:
md_5 2020-06-27 09:05:55 +10:00
parent afcfac31a9
commit 26f538d193
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -220,6 +220,7 @@ public class ServerConnector extends PacketHandler
if ( user.getServer() != null ) if ( user.getServer() != null )
{ {
user.getServer().setObsolete( true ); user.getServer().setObsolete( true );
user.getTabListHandler().onServerChange();
user.getServerSentScoreboard().clear(); user.getServerSentScoreboard().clear();