static void BlockInfoHandler( Player player, Command cmd ) {
World playerWorld = player.World;
if( playerWorld == null ) PlayerOpException.ThrowNoWorld( player );
if( !BlockDB.IsEnabledGlobally ) {
player.Message( "&WBlockDB is disabled on this server." );
return;
}
if( !playerWorld.BlockDB.IsEnabled ) {
player.Message( "&WBlockDB is disabled in this world." );
return;
}
player.Message( "BInfo: Click a block to look it up." );
player.SelectionStart( 1, BlockInfoSelectionCallback, null, CdBlockInfo.Permissions );
}