In order to prevent handleDisconnection() twice, we need to handle all stuff that disconnects the player on join through PlayerKickEvent. This can be done with the disallow() method. For example, ban handling in JoinModule.java should be moved to a separate event.
In order to prevent handleDisconnection() twice, we need to handle all stuff that disconnects the player on join through PlayerKickEvent. This can be done with the disallow() method. For example, ban handling in JoinModule.java should be moved to a separate event.