Loose indentations don't bug you?
Perhaps it is because all players were disconnected to change maps? Not sure how map changes work (if it reconnects all clients or not) but if you're plugin is returning a list of all players on the server who were there before the map change its likely to be the issue.
Tell me this after a map change don't reload the plugin, just have a single player disconnect and see if it returns that players info.