Call login event
This commit is contained in:
parent
2b1d2cba04
commit
0d5099bee5
@ -123,6 +123,7 @@ public class InitialHandler extends PacketHandler implements Runnable, PendingCo
|
||||
|
||||
// fire login event
|
||||
LoginEvent event = new LoginEvent( this );
|
||||
ProxyServer.getInstance().getPluginManager().callEvent( event );
|
||||
if ( event.isCancelled() )
|
||||
{
|
||||
disconnect( event.getCancelReason() );
|
||||
|
Loading…
Reference in New Issue
Block a user