mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-02 00:29:59 +01:00
NetServerHandler: set in player join.
This commit is contained in:
parent
dc4f50aef4
commit
1a5908b907
@ -129,7 +129,7 @@ public class NoCheatPlus extends JavaPlugin implements Listener {
|
||||
*/
|
||||
@EventHandler(
|
||||
priority = EventPriority.LOWEST)
|
||||
public void onPlayerLogin(final PlayerLoginEvent event) {
|
||||
public void onPlayerJoinLowest(final PlayerJoinEvent event) {
|
||||
// Set the NetServerHandler of the player.
|
||||
setCustomNetServerHandler(event.getPlayer());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user