Fix onlogin not firing, handshake firing twice

This commit is contained in:
lol768 2012-10-31 19:52:45 +00:00
parent 428a77bae1
commit 30abf975c2

View File

@ -57,7 +57,7 @@ public class InitialHandler implements Runnable
} }
// fire post auth event // fire post auth event
BungeeCord.instance.pluginManager.onHandshake(event); BungeeCord.instance.pluginManager.onLogin(event);
if (event.isCancelled()) if (event.isCancelled())
{ {
throw new KickException(event.getCancelReason()); throw new KickException(event.getCancelReason());