I missed that there was an alternative for bungee in the documentation

This commit is contained in:
juanmuscaria
2021-09-14 12:22:22 -03:00
parent 502b16a0e7
commit 89d03bcc6b

View File

@ -130,8 +130,7 @@ public class ForceLoginTask
@Override
public boolean isOnline(Player player) {
//FIXME: is this right?
return core.getPlugin().getProxy().getPlayer(player.getUsername()).isPresent();
return player.isActive();
}
@Override