mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
Fix onlogin not firing, handshake firing twice
This commit is contained in:
parent
428a77bae1
commit
30abf975c2
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user