mirror of
https://github.com/WiIIiam278/Velocitab.git
synced 2025-03-13 13:30:01 +01:00
fix: tablist continuesly shows on tablist disabled server (#218)
This commit is contained in:
parent
3865387b80
commit
4f2fe1ef3f
@ -93,7 +93,7 @@ public class TabListListener {
|
||||
|
||||
// Get the group the player should now be in
|
||||
final @NotNull Optional<Group> groupOptional = tabList.getGroup(serverName);
|
||||
final boolean isDefault = groupOptional.map(g -> g.isDefault(plugin)).orElse(false);
|
||||
final boolean isDefault = groupOptional.map(g -> g.isDefault(plugin)).orElse(true);
|
||||
|
||||
// Removes cached relational data of the joined player from all other players
|
||||
plugin.getTabList().clearCachedData(joined);
|
||||
|
Loading…
Reference in New Issue
Block a user