Quark Oddities

Quark Oddities

22M Downloads

Fix for "being alone" doesn't check if player was already afk

fhntv24 opened this issue ยท 0 comments

commented

a63c986#diff-22c541e8fb28c12a966bbda2243eab38
This commit introduces new issue: if person is alone on whitelisted server, for example, each time someone tries to connect to server it will spam him "you left from afk".
This is because PlayerLoggedOutEvent is send even if player didn't fully join server , and this code doesn't check if the one player who is on server is even afk.

Also, if someone is constantly re-joining server it can be pretty annoying too.