Call login event

This commit is contained in:
md_5 2013-02-11 17:26:52 +11:00
parent 2b1d2cba04
commit 0d5099bee5

View File

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