Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Commit

Permalink
Show disconnect exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jedediah committed Dec 21, 2016
1 parent 077ef77 commit 936381d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/src/main/java/net/md_5/bungee/UserConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ public void operationComplete(ChannelFuture future) throws Exception
connect( def, null, true );
} else if ( dimensionChange )
{
disconnect( bungee.getTranslation( "fallback_kick", future.cause().getClass().getName() ) );
disconnect( bungee.getTranslation( "fallback_kick", future.cause().toString() ) );
} else if(!quiet) {
sendMessage( bungee.getTranslation( "fallback_kick", future.cause().getClass().getName() ) );
sendMessage( bungee.getTranslation( "fallback_kick", future.cause().toString() ) );
}
}
}
Expand Down

0 comments on commit 936381d

Please sign in to comment.