NetServerHandler: set in player join.

This commit is contained in:
asofold 2012-08-12 15:35:53 +02:00
parent dc4f50aef4
commit 1a5908b907

View File

@ -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());
}